discourse/app/assets/stylesheets/common/foundation
David Taylor d0d4a363d4
UX: Make input sizing consistent across all browsers (#26159)
Previously we had an iOS-specific sizing rule which would increase inputs to `1.07em`, which would bring them over the 16px 'zoom on focus' threshold in some (but technically, not all) situations.

This commit does two things:

1. Updates the sizing rule from `1.07em` to `max(1em, 16px)`. Essentially: use the cascaded font size, unless it is smaller than 16px

2. Applies that sizing rule on all platforms. This will make Discourse design/theming more consistent across different devices

It also removes some associated CSS rules which no longer make sense.
2024-03-20 16:23:44 +00:00
..
base.scss UX: have svg icons inherit colour (#24871) 2023-12-13 15:34:29 +01:00
color_transformations.scss UX: softer dropdown and menu panel shadows (#22114) 2023-06-15 10:52:51 -04:00
colors.scss UX: Update selected colour var (#25500) 2024-01-31 09:32:38 +01:00
helpers.scss DEV: unused CSS cleanup, variable updates, simplification (#26111) 2024-03-11 09:07:53 -04:00
math.scss DEV: Move to Sass compilation to dart-sass (#19910) 2023-02-07 12:24:57 -03:00
mixins.scss UX: Make input sizing consistent across all browsers (#26159) 2024-03-20 16:23:44 +00:00
variables.scss UX: update Facebook blue hex, add comment about button color (#26105) 2024-03-08 11:47:59 -05:00