Skip to content
Snippets Groups Projects
Commit 90b1c051 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Ability to have a second part of the title floating on the right while not using float right

parent de3a6cc2
No related branches found
No related tags found
No related merge requests found
Pipeline #11816 passed
...@@ -52,4 +52,10 @@ ...@@ -52,4 +52,10 @@
.pull-right + .pull-right{ .pull-right + .pull-right{
margin-right:4px; margin-right:4px;
}
.content-page-title>*:first-child{
flex-grow: 1;
}
.content-page-title{
display:flex;
} }
\ No newline at end of file
...@@ -77,8 +77,9 @@ ...@@ -77,8 +77,9 @@
{% block whole_content_page_title %} {% block whole_content_page_title %}
<div class="pb-2 mt-4 mb-2 col-12"> <div class="pb-2 mt-4 mb-2 col-12">
{% block content_page_title %} {% block content_page_title %}
<div class="border-bottom"> <div class="border-bottom content-page-title">
<h1>{% block page_title %}{% endblock %}</h1> <h1>{% block page_title %}{% endblock %}</h1>
{% block page_title_right %}{% endblock %}
</div> </div>
{% endblock %} {% endblock %}
</div> </div>
......
...@@ -7,7 +7,7 @@ readme = open('README.rst').read() ...@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup( setup(
name='django-basetheme-bootstrap', name='django-basetheme-bootstrap',
version='0.0.6', version='0.0.7',
description='Django Basetheme Bootstrap', description='Django Basetheme Bootstrap',
long_description=readme, long_description=readme,
author='Bryan Brancotte', author='Bryan Brancotte',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment