fix: position offset of the theme toggle button

This commit is contained in:
radishzzz 2025-03-20 12:53:01 +00:00
parent 850d9c2403
commit 0f63770b69
3 changed files with 7 additions and 7 deletions

12
pnpm-lock.yaml generated
View file

@ -3283,8 +3283,8 @@ packages:
trough@2.2.0: trough@2.2.0:
resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==} resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}
ts-api-utils@2.0.1: ts-api-utils@2.1.0:
resolution: {integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==} resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==}
engines: {node: '>=18.12'} engines: {node: '>=18.12'}
peerDependencies: peerDependencies:
typescript: '>=4.8.4' typescript: '>=4.8.4'
@ -4574,7 +4574,7 @@ snapshots:
graphemer: 1.4.0 graphemer: 1.4.0
ignore: 5.3.2 ignore: 5.3.2
natural-compare: 1.4.0 natural-compare: 1.4.0
ts-api-utils: 2.0.1(typescript@5.8.2) ts-api-utils: 2.1.0(typescript@5.8.2)
typescript: 5.8.2 typescript: 5.8.2
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -4602,7 +4602,7 @@ snapshots:
'@typescript-eslint/utils': 8.27.0(eslint@9.22.0(jiti@2.4.2))(typescript@5.8.2) '@typescript-eslint/utils': 8.27.0(eslint@9.22.0(jiti@2.4.2))(typescript@5.8.2)
debug: 4.4.0 debug: 4.4.0
eslint: 9.22.0(jiti@2.4.2) eslint: 9.22.0(jiti@2.4.2)
ts-api-utils: 2.0.1(typescript@5.8.2) ts-api-utils: 2.1.0(typescript@5.8.2)
typescript: 5.8.2 typescript: 5.8.2
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -4618,7 +4618,7 @@ snapshots:
is-glob: 4.0.3 is-glob: 4.0.3
minimatch: 9.0.5 minimatch: 9.0.5
semver: 7.7.1 semver: 7.7.1
ts-api-utils: 2.0.1(typescript@5.8.2) ts-api-utils: 2.1.0(typescript@5.8.2)
typescript: 5.8.2 typescript: 5.8.2
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -7755,7 +7755,7 @@ snapshots:
trough@2.2.0: {} trough@2.2.0: {}
ts-api-utils@2.0.1(typescript@5.8.2): ts-api-utils@2.1.0(typescript@5.8.2):
dependencies: dependencies:
typescript: 5.8.2 typescript: 5.8.2

Binary file not shown.

View file

@ -87,7 +87,7 @@ const mobileFooterMargin = isPost && themeConfig.comment?.waline?.serverURL
<!-- Mobile widget (fix position issue on ios / fix right distance)--> <!-- Mobile widget (fix position issue on ios / fix right distance)-->
<div <div
class="absolute right-7.25vw top-13.6 flex gap-6 [@supports(-webkit-touch-callout:none)]:top-12.6 min-[823px]:right-[calc(50vw-22rem)]" class="absolute right-7.25vw top-14.5 flex gap-6 [@supports(-webkit-touch-callout:none)]:top-13.5 min-[823px]:right-[calc(50vw-22rem)]"
lg="hidden" lg="hidden"
> >
<LanguageSwitcher supportedLangs={supportedLangs} /> <LanguageSwitcher supportedLangs={supportedLangs} />