Skip to content

Commit

Permalink
🔥 Remove styles on button for automatically hiding icon and labels wh…
Browse files Browse the repository at this point in the history
…en attributes absent
  • Loading branch information
kierandrewett committed Apr 19, 2024
1 parent d1c04dd commit 1763691
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions components/widgets/content/browser-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,26 +45,4 @@
display: none;
}
}
}

/* No icon supplied and we're in either icons or icons_text */
.browser-button:not([icon])[label]:not([mode=text]) .browser-button-container>* {
&.browser-button-label {
display: flex !important;
}

&:not(.browser-button-label) {
display: none !important;
}
}

/* No label supplied and we're in text mode */
.browser-button:not([label])[icon][mode=text] .browser-button-container>* {
&.browser-button-icon {
display: flex !important;
}

&:not(.browser-button-icon) {
display: none !important;
}
}

0 comments on commit 1763691

Please sign in to comment.