From 3665d69e0ce859751572bfb62d5b1bde9fbd88ca Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 20 Aug 2024 20:41:41 -0500 Subject: [PATCH] fix: tweak login form to stop extending size of background card --- src/wuttaweb/templates/base.mako | 2 +- src/wuttaweb/templates/configure.mako | 11 +++++++++++ src/wuttaweb/templates/forms/vue_template.mako | 7 ++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/wuttaweb/templates/base.mako b/src/wuttaweb/templates/base.mako index bae0544..f58f7ec 100644 --- a/src/wuttaweb/templates/base.mako +++ b/src/wuttaweb/templates/base.mako @@ -154,7 +154,7 @@ .wutta-form-wrapper { margin-left: 5rem; margin-top: 2rem; - width: 75%; + width: 50%; } diff --git a/src/wuttaweb/templates/configure.mako b/src/wuttaweb/templates/configure.mako index 6b7a766..4c89872 100644 --- a/src/wuttaweb/templates/configure.mako +++ b/src/wuttaweb/templates/configure.mako @@ -3,6 +3,17 @@ <%def name="title()">Configure ${config_title} +<%def name="extra_styles()"> + ${parent.extra_styles()} + + + <%def name="page_content()">
${self.buttons_content()} diff --git a/src/wuttaweb/templates/forms/vue_template.mako b/src/wuttaweb/templates/forms/vue_template.mako index 70540d0..cc62a77 100644 --- a/src/wuttaweb/templates/forms/vue_template.mako +++ b/src/wuttaweb/templates/forms/vue_template.mako @@ -11,7 +11,12 @@ % if not form.readonly: -
+
+
% if form.show_button_cancel: