From 7759021ba19990d0a275307f0b7fe444e92571df Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Tue, 24 Dec 2024 02:02:10 +0100 Subject: [PATCH] Make inputs and buttons in table form equal height Closes #38 --- app/assets/stylesheets/application.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 797249b..3e8b804 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -446,6 +446,11 @@ table.items input[type=submit] { font-weight: normal; padding: 0.3em; } +table.items input:not([type=submit]):not([type=checkbox]), +table.items select, +table.items textarea { + padding-block: 0.375em; +} /* TODO: find a way (layers?) to style inputs differently while making sure * hover works properly without using :not(:hover) selectors here. */ table.items .button:not(:hover),