mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
alerts: Remove --base-font-size-px and allow font-size to be inherited.
This is a follow-up commit to d1de4457dc,
which had set the font-size for the alert popups to --base-font-size-px.
This removes that line of code, as it was pointed out by Tim Abbott
that the web/styles/alerts.css file was also being shared with portico
through the web/src/bundles/common.ts bundle, but the
--base-font-size-px variable doesn't exist there.
Removing the font-size property from the alert box doesn't affect its
styling since it still inherits the `--base-font-size-px` from the body
in the Zulip Web App.
This commit is contained in:
parent
d1de4457dc
commit
48dae579b2
@ -150,8 +150,6 @@
|
||||
.alert {
|
||||
@extend .alert-animations;
|
||||
|
||||
/* Use --base-font-size-px to prevent any chaining on the font size */
|
||||
font-size: var(--base-font-size-px);
|
||||
border-radius: 4px;
|
||||
background-color: hsl(0deg 0% 100%);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user