fix: add padding around main form, via wrapper css
This commit is contained in:
parent
bdc57abd5a
commit
cadd63e3e8
|
@ -151,6 +151,12 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wutta-form-wrapper {
|
||||||
|
margin-left: 5rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
<%inherit file="/page.mako" />
|
<%inherit file="/page.mako" />
|
||||||
|
|
||||||
<%def name="page_content()">
|
<%def name="page_content()">
|
||||||
<div style="margin-top: 2rem; width: 50%;">
|
|
||||||
% if form is not Undefined:
|
% if form is not Undefined:
|
||||||
|
<div class="wutta-form-wrapper">
|
||||||
${form.render_vue_tag()}
|
${form.render_vue_tag()}
|
||||||
% endif
|
|
||||||
</div>
|
</div>
|
||||||
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<%def name="render_vue_templates()">
|
<%def name="render_vue_templates()">
|
||||||
|
|
Loading…
Reference in a new issue