add classes visible-mac and visible-pc to enable platform agnostic styling
This commit is contained in:
1 parent
0275cbdc6b
commit
2c4499fd34
1 file changed
+14
@@ -190,3 +190,17 @@ @layer base {
|
|||||||
@apply bg-background text-foreground;
|
@apply bg-background text-foreground;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@layer components {
|
||||||
|
.is-mac .visible-pc {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.visible-mac {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-mac .visible-mac {
|
||||||
|
display: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user