mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
fix: header position issue on ios
This commit is contained in:
parent
56751de737
commit
d7fc84aae5
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ function getLanguageDisplayName(code: string) {
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
id="language-switcher"
|
id="language-switcher"
|
||||||
class="absolute right-[calc(9.94vw+2.8rem)] top-[calc(7.3vw+2.68rem)] z-9 aspect-square w-6.6 c-secondary active:scale-90"
|
class="absolute right-[calc(9.94vw+2.8rem)] top-[calc(7.3vw+2.68rem)] z-9 aspect-square w-6.6 c-secondary [@supports(-webkit-touch-callout:none)]:top-[calc(7.3vw+2.28rem)] active:scale-90"
|
||||||
lg="hidden"
|
lg="hidden"
|
||||||
aria-label={`Current Language: ${getLanguageDisplayName(currentLocale)}. Click to switch to next language.`}
|
aria-label={`Current Language: ${getLanguageDisplayName(currentLocale)}. Click to switch to next language.`}
|
||||||
>
|
>
|
||||||
|
|
|
@ -60,7 +60,7 @@ window.addEventListener('pageshow', (event) => {
|
||||||
<button
|
<button
|
||||||
aria-pressed="false"
|
aria-pressed="false"
|
||||||
aria-label="Theme Toggle Button"
|
aria-label="Theme Toggle Button"
|
||||||
class="absolute right-[calc(9.94vw-1.18rem)] top-[calc(7.3vw+2.6rem)] z-9 aspect-square w-7 c-secondary active:scale-90"
|
class="absolute right-[calc(9.94vw-1.18rem)] top-[calc(7.3vw+2.6rem)] z-9 aspect-square w-7 c-secondary [@supports(-webkit-touch-callout:none)]:top-[calc(7.3vw+2.2rem)] active:scale-90"
|
||||||
lg="hidden"
|
lg="hidden"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue