Unify input font size and padding (text-sm, px-3 py-2.5)
Inputs rendered at different sizes: the SearchSelect was 54px tall with a 16px font (the wrapper's p-2 and the inner box's forms-plugin padding stacked, and the wrapper had no text-sm), and the string-criterion filter input had no text-sm (16px) with p-2. Native inputs are 42px / 14px / px-3 py-2.5. Align both to the native size: - SearchSelect wrapper supplies px-3 py-2.5 + text-sm and the inner search box zeroes its own padding (p-0), so the field is one 42px row like an input. - String filter input gets text-sm + px-3 py-2.5. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1572,7 +1572,8 @@ def StringFilter(
|
||||
("placeholder", placeholder),
|
||||
(
|
||||
"class",
|
||||
"w-full rounded-base border border-default-medium p-2 "
|
||||
# text-sm + px-3 py-2.5 match every other input (canonical size).
|
||||
"w-full rounded-base border border-default-medium px-3 py-2.5 text-sm "
|
||||
"bg-neutral-secondary-medium text-body "
|
||||
"focus:border-brand focus:ring-brand "
|
||||
# No transition-* here: with transition-all the border-color animated
|
||||
|
||||
Reference in New Issue
Block a user