feat: Browser detection in css

This commit is contained in:
Aleksi Lassila
2024-04-05 15:39:49 +03:00
parent 26e6d8ffd8
commit 2a319148df
4 changed files with 11 additions and 2 deletions

View File

@@ -18,10 +18,14 @@ a {
@apply bg-zinc-700 bg-opacity-40 animate-pulse text-transparent rounded-lg select-none;
}
.selectable {
html:not([data-useragent*="Tizen"]) .selectable {
@apply outline-none outline-0 border-2 border-[#00000000] focus-visible:border-[#f0cd6dc2];
}
html[data-useragent*="Tizen"] .selectable {
@apply outline-none outline-0 border-2 border-[#00000000] focus-within:border-[#f0cd6dc2];
}
.selectable:focus, .selectable:focus-within {
border-width: 2px;
}