add classes visible-mac and visible-pc to enable platform agnostic styling
This commit is contained in:
@@ -189,4 +189,18 @@ @layer base {
|
|||||||
body {
|
body {
|
||||||
@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