This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed font.css, replaced with meta tag imports in components (#10328)
Import of Google fonts in font.css was breaking first line of later .css file imports because of lack of semicolon at the end. But we should be importing fonts in components via <link>s hoisted into the <head> via <MetaTags>. This fixes IR-2428. When the user menu is rendered in a modal, e.g. at /studio,its inclusion in an MUI modal was adding some undesired styling, specifically a white background. Made the menu stylings all !important to override that behavior. This fixes IR-2452.
- Loading branch information
Showing
4 changed files
with
29 additions
and
16 deletions.
There are no files selected for viewing
26 changes: 13 additions & 13 deletions
26
packages/client-core/src/common/components/Menu/index.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
.menu { | ||
background: var(--popupBackground); | ||
border-radius: 20px; | ||
color: var(--textColor); | ||
pointer-events: all; | ||
background: var(--popupBackground) !important; | ||
border-radius: 20px !important; | ||
color: var(--textColor) !important; | ||
pointer-events: all !important; | ||
|
||
:global { | ||
.MuiDialogContentText-root { | ||
color: var(--textColor); | ||
color: var(--textColor) !important; | ||
} | ||
|
||
.MuiDialogContent-root { | ||
padding-bottom: 10px; | ||
overflow-x: hidden; | ||
pointer-events: all; | ||
padding-bottom: 10px !important; | ||
overflow-x: hidden !important; | ||
pointer-events: all !important; | ||
} | ||
} | ||
} | ||
|
||
.dialogTitle { | ||
display: flex; | ||
align-items: center; | ||
padding: 16px 12px; | ||
display: flex !important; | ||
align-items: center !important; | ||
padding: 16px 12px !important; | ||
} | ||
|
||
.dialogActions { | ||
gap: 16px; | ||
padding: 8px 24px; | ||
gap: 16px !important; | ||
padding: 8px 24px !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.