🔥 Huge style refactoring by using SvelteKit built-in style tag
It's been tricky but got there finally! Hello `:global` - Avoid using one global CSS file containing everything - Import the component SCSS file in a script tag from the component file to allow style scoping and including it only when used
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
button {
|
||||
:global(button) {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
// Icon
|
||||
svg {
|
||||
:global(svg) {
|
||||
display: block;
|
||||
width: min(65%, 27px);
|
||||
height: min(65%, 27px);
|
||||
|
||||
Reference in New Issue
Block a user