zulip/web
Shubham Padia 15ea879899 css: Scale font-size for .small buttons.
Fixes #30895.
The root font-size for the app has always been 16px, and it remains the
same when switching between 14px and 16px mode. This leads to
`.small` buttons looking relatively smaller to their surroundings in
16px mode. So, if we use a unit that changes when switching between
modes, we will have to multiple that value by (16/14) so that we don't
change the existing behaviour for the 14px mode and make things smaller.
This commit only affects `.small` buttons, the same named class is used
in other places but does not use rem unit there and therefore does not
require any changes.
The original plan was to use em instead of rem and multiply it by
(16/14 * 0.8), but since em depends on the parent element, there was a
case in the poll button widget where 1em was equal to 16px in the dense
14px mode. While, the right thing to do might have been some refactor to
make it work as desired, the safest thing to do right now might be to
use the --base-font-size-px variable directly for the 9.0 release.
2024-07-17 09:41:43 -07:00
..
e2e-tests search pills: Validate pills with shake animation when invalid. 2024-07-09 17:08:45 -07:00
generated
html 5xx: Remove duplicate `error_page` class applied on page. 2024-07-03 13:35:12 -07:00
images onboarding_steps: Remove hotspot as an onboarding_step. 2024-05-10 12:30:22 -07:00
server katex_server: Fix implicit use of any. 2024-05-04 18:53:34 -07:00
shared send_later_popover: Change calendar days icon. 2024-07-16 09:39:48 -07:00
src search: Remove all pills on backspace from fresh open. 2024-07-16 23:32:21 -07:00
styles css: Scale font-size for .small buttons. 2024-07-17 09:41:43 -07:00
templates stream_settings: Rename stream to channel in stream created banner. 2024-07-16 23:27:03 -07:00
tests search pills: Render message header when search content changes. 2024-07-16 16:50:39 -07:00
third bootstrap: Remove legacy `nav nav-list` classes and related CSS. 2024-07-15 10:00:22 -07:00
.browserslistrc
.gitignore
babel.config.js
debug-require-webpack-plugin.ts tsconfig: Enable exactOptionalPropertyTypes. 2024-05-16 08:58:20 -07:00
debug-require.js
postcss.config.js
webpack.assets.json support: Set discounted price instead percentage for customers. 2024-05-16 02:18:43 -07:00
webpack.config.ts blueslip: Untangle from page_params. 2024-06-22 19:18:10 -07:00
webpack.dev-assets.json