Merged in fix/mainmenu-button-css-cascade (pull request #3532)
Fix/mainmenu button css cascade * fix(MainMenuButton): add @layer to make css cascading work * reset
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
.menuButton {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--Space-x05);
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
color: var(--Text-Interactive-Default);
|
||||
border-width: 0;
|
||||
padding: var(--Space-x05) 0;
|
||||
@layer component {
|
||||
.menuButton {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--Space-x05);
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
color: var(--Text-Interactive-Default);
|
||||
border-width: 0;
|
||||
padding: var(--Space-x05) 0;
|
||||
|
||||
&.loading {
|
||||
cursor: progress;
|
||||
&.loading {
|
||||
cursor: progress;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user