Fix some styles, per flexbox layout changes

This commit is contained in:
Lance Edgar 2018-12-17 22:35:42 -06:00
parent d369693f9f
commit 6a643411a4
4 changed files with 59 additions and 41 deletions

View file

@ -46,10 +46,14 @@
% endif % endif
</%def> </%def>
<ul id="context-menu"> <div style="display: flex; justify-content: space-between;">
${self.context_menu_items()}
</ul>
<div class="form-wrapper"> <div class="form-wrapper">
${form.render()|n} ${form.render()|n}
</div> </div>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>

View file

@ -5,10 +5,14 @@
<%def name="context_menu_items()"></%def> <%def name="context_menu_items()"></%def>
<ul id="context-menu"> <div style="display: flex; justify-content: space-between;">
${self.context_menu_items()}
</ul>
<div class="form-wrapper"> <div class="form-wrapper">
${form.render()|n} ${form.render()|n}
</div><!-- form-wrapper --> </div><!-- form-wrapper -->
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>

View file

@ -30,10 +30,9 @@
${h.end_form()} ${h.end_form()}
</%def> </%def>
<ul id="context-menu"> <div style="display: flex; justify-content: space-between;">
${self.context_menu_items()}
</ul>
<div>
<br /> <br />
<p>You are about to delete the following ${model_title} and all associated data:</p> <p>You are about to delete the following ${model_title} and all associated data:</p>
@ -42,3 +41,10 @@
</div><!-- form-wrapper --> </div><!-- form-wrapper -->
${self.confirmation()} ${self.confirmation()}
</div>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>

View file

@ -44,9 +44,7 @@
</%def> </%def>
<ul id="context-menu"> <div style="display: flex; justify-content: space-between;">
${self.context_menu_items()}
</ul>
<div class="form"> <div class="form">
${h.form(request.current_route_url(), class_='autodisable')} ${h.form(request.current_route_url(), class_='autodisable')}
@ -72,3 +70,9 @@
${h.end_form()} ${h.end_form()}
</div> </div>
<ul id="context-menu">
${self.context_menu_items()}
</ul>
</div>