From 50a63e0d8195390576baa2ce0dfecd0a5f376a87 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Sun, 30 Apr 2023 22:21:50 +0200 Subject: [PATCH] Update centering and image button width --- app/assets/stylesheets/application.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 53ed2dd..bf0a249 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -24,6 +24,9 @@ :focus-visible { outline: none; } +.centered { + margin: 0 auto; +} body { margin: 0 0.5rem; @@ -101,16 +104,13 @@ input[type=submit] { font-weight: bold; padding: 0.4rem; text-decoration: none; + width: fit-content; } .image-button svg { height: 1.3rem; padding-right: 0.4rem; width: 1.3rem; } -.image-button.centered { - margin: 0 auto; - width: fit-content; -} .image-button:hover, .image-button.active:hover, input[type=submit]:hover { @@ -179,7 +179,6 @@ input[type=submit]:hover:focus-visible { form table { border-spacing: 0.8rem; - margin: 0 auto; } form tr td:first-child { font-size: 0.9rem;