From d6271939d0fbb6ca15d990234e44af9875d83f35 Mon Sep 17 00:00:00 2001 From: missionfloyd Date: Sun, 3 Dec 2023 22:51:09 -0700 Subject: [PATCH] Fix popup CSS (mostly) Center image buttons --- style.css | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/style.css b/style.css index ee39a57b7..072301462 100644 --- a/style.css +++ b/style.css @@ -390,7 +390,7 @@ div#extras_scale_to_tab div.form{ z-index: 5; } -.image-buttons > .form{ +.image-buttons{ justify-content: center; } @@ -1044,9 +1044,9 @@ footer { height:100%; } -div.block.gradio-box.edit-user-metadata { +.edit-user-metadata { width: 56em; - background: var(--body-background-fill); + background: var(--body-background-fill) !important; padding: 2em !important; } @@ -1080,19 +1080,12 @@ div.block.gradio-box.edit-user-metadata { margin-top: 1.5em; } - - - -div.block.gradio-box.popup-dialog, .popup-dialog { +.popup-dialog { width: 56em; - background: var(--body-background-fill); + background: var(--body-background-fill) !important; padding: 2em !important; } -div.block.gradio-box.popup-dialog > div:last-child, .popup-dialog > div:last-child{ - margin-top: 1em; -} - div.block.input-accordion{ }