mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web: move iPadOS workaround to global level
This commit is contained in:
parent
3b90f5ee17
commit
5948cab4fb
2 changed files with 6 additions and 2 deletions
|
@ -254,8 +254,6 @@
|
||||||
|
|
||||||
/* workaround for safari */
|
/* workaround for safari */
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
user-select: text;
|
|
||||||
-webkit-user-select: text;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#link-area:focus-visible {
|
#link-area:focus-visible {
|
||||||
|
|
|
@ -365,6 +365,12 @@
|
||||||
background-color: var(--blue) !important;
|
background-color: var(--blue) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* workaround for typing into inputs being ignored on iPadOS 15 */
|
||||||
|
:global(input) {
|
||||||
|
user-select: text;
|
||||||
|
-webkit-user-select: text;
|
||||||
|
}
|
||||||
|
|
||||||
@media (hover: hover) {
|
@media (hover: hover) {
|
||||||
:global(button:hover) {
|
:global(button:hover) {
|
||||||
background-color: var(--button-hover);
|
background-color: var(--button-hover);
|
||||||
|
|
Loading…
Reference in a new issue