summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-10 14:43:45 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-10 14:43:45 +0200
commited9e846d1d85fa326389982e16bbc8799f2001c0 (patch)
tree10d42fe7c54d7293abbca48fe6203ab5f61e005a
parentd12598f17547d6b6ad817f32bc6419556ecdf019 (diff)
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.
-rw-r--r--public/stylesheets/admin.css15
1 files 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 {
750 background-color: #000000; 750 background-color: #000000;
751} 751}
752 752
753#page_editor form input[type=text], 753#page_editor input[type=text],
754#page_editor form input[type=password] { 754#page_editor input[type=password],
755#page_editor textarea {
755 padding: 5px; 756 padding: 5px;
756} 757}
757 758
@@ -787,8 +788,9 @@ a.action_button:hover {
787 margin-left: -125px; 788 margin-left: -125px;
788 } 789 }
789 790
790 #page_editor form input[type=text], 791 #page_editor input[type=text],
791 #page_editor form input[type=password] { 792 #page_editor input[type=password],
793 #page_editor textarea {
792 width: 690px; 794 width: 690px;
793 } 795 }
794} 796}
@@ -833,8 +835,9 @@ a.action_button:hover {
833 font-weight: bold; 835 font-weight: bold;
834 } 836 }
835 837
836 #page_editor form input[type=text], 838 #page_editor input[type=text],
837 #page_editor form input[type=password] { 839 #page_editor input[type=password],
840 #page_editor textarea {
838 box-sizing: border-box; 841 box-sizing: border-box;
839 width: 100%; 842 width: 100%;
840 } 843 }