fix: fix broken search result links in WebKit browsers (#86)
Fixes: https://github.com/thegeeklab/hugo-geekdoc/issues/85uci-hugo-doc
parent
ecc59e6482
commit
fb8d22d967
|
@ -440,7 +440,7 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
&__list {
|
&__list {
|
||||||
display: none;
|
visibility: hidden;
|
||||||
background: $white;
|
background: $white;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
||||||
|
@ -477,8 +477,9 @@ img {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus-within &__list.has-hits {
|
&:focus-within &__list.has-hits,
|
||||||
display: block !important;
|
&__list.has-hits:active {
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue