From ed9e846d1d85fa326389982e16bbc8799f2001c0 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 10 Jul 2026 14:43:45 +0200 Subject: Fix page-editor text inputs falling through to unstyled defaults "#page_editor form input[...]" -- but form_for wraps around inside, so the selector never matched anything. Every field without its own dedicated per-id rule (i.e. everything outside nodes#edit) fell through to the bare, unsized base rule instead. Fixed by dropping the erroneous "form" and adding textarea, which the rule never covered either even for its intended targets. nodes#edit's own per-id rules (#page_title, #page_abstract, etc.) are unaffected -- same specificity, later in the file, so they still win where they already applied. --- public/stylesheets/admin.css | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 7b39c72..1a81728 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css @@ -750,8 +750,9 @@ a.action_button:hover { background-color: #000000; } -#page_editor form input[type=text], -#page_editor form input[type=password] { +#page_editor input[type=text], +#page_editor input[type=password], +#page_editor textarea { padding: 5px; } @@ -787,8 +788,9 @@ a.action_button:hover { margin-left: -125px; } - #page_editor form input[type=text], - #page_editor form input[type=password] { + #page_editor input[type=text], + #page_editor input[type=password], + #page_editor textarea { width: 690px; } } @@ -833,8 +835,9 @@ a.action_button:hover { font-weight: bold; } - #page_editor form input[type=text], - #page_editor form input[type=password] { + #page_editor input[type=text], + #page_editor input[type=password], + #page_editor textarea { box-sizing: border-box; width: 100%; } -- cgit v1.3