1
0
Fork 0

fix: add padding around main form, via wrapper css

This commit is contained in:
Lance Edgar 2024-08-20 17:03:15 -05:00
parent bdc57abd5a
commit cadd63e3e8
2 changed files with 10 additions and 4 deletions

View file

@ -151,6 +151,12 @@
white-space: nowrap;
}
.wutta-form-wrapper {
margin-left: 5rem;
margin-top: 2rem;
width: 50%;
}
</style>
</%def>

View file

@ -2,11 +2,11 @@
<%inherit file="/page.mako" />
<%def name="page_content()">
<div style="margin-top: 2rem; width: 50%;">
% if form is not Undefined:
<div class="wutta-form-wrapper">
${form.render_vue_tag()}
% endif
</div>
% endif
</%def>
<%def name="render_vue_templates()">