1
0
Fork 0

fix: tweak login form to stop extending size of background card

This commit is contained in:
Lance Edgar 2024-08-20 20:41:41 -05:00
parent 2d9757f677
commit 3665d69e0c
3 changed files with 18 additions and 2 deletions

View file

@ -154,7 +154,7 @@
.wutta-form-wrapper { .wutta-form-wrapper {
margin-left: 5rem; margin-left: 5rem;
margin-top: 2rem; margin-top: 2rem;
width: 75%; width: 50%;
} }
</style> </style>

View file

@ -3,6 +3,17 @@
<%def name="title()">Configure ${config_title}</%def> <%def name="title()">Configure ${config_title}</%def>
<%def name="extra_styles()">
${parent.extra_styles()}
<style>
.wutta-form-wrapper {
width: 75%;
}
</style>
</%def>
<%def name="page_content()"> <%def name="page_content()">
<br /> <br />
${self.buttons_content()} ${self.buttons_content()}

View file

@ -11,7 +11,12 @@
</section> </section>
% if not form.readonly: % if not form.readonly:
<div style="margin-top: 1.5rem; display: flex; gap: 0.5rem; justify-content: ${'end' if form.align_buttons_right else 'start'}; width: 100%; padding-left: 10rem;"> <br />
<div class="buttons"
% if form.align_buttons_right:
style="justify-content: right;"
% endif
>
% if form.show_button_cancel: % if form.show_button_cancel:
<wutta-button ${'once' if form.auto_disable_cancel else ''} <wutta-button ${'once' if form.auto_disable_cancel else ''}