Skip to content

Commit d57278e

Browse files
committed
chore: dasdkfas
1 parent 69160c7 commit d57278e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

blog-archived/app/pages/articles/[...slug].vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ function handleTocMove(_id?: string) {
262262
</aside>
263263

264264
<div v-if="hasToc" class="pointer-events-none lg:hidden">
265-
<div class="fixed inset-x-0 bottom-5 z-40 flex justify-center">
265+
<div class="fixed inset-x-0 bottom-5 z-40 flex justify-center pointer-events-auto">
266266
<UButton
267-
class="pointer-events-auto rounded-full border border-[--surface-border]/70 bg-[--panel-bg] px-5 py-2 text-sm font-medium shadow-[0_16px_40px_-24px_rgba(15,23,42,0.45)] backdrop-blur"
267+
class="pointer-events-auto rounded-full border border-[--gh-accent-emphasis]/60 bg-[--gh-accent-subtle] px-5 py-2 text-sm font-medium text-[--gh-accent-emphasis] shadow-[0_16px_40px_-24px_rgba(15,23,42,0.45)] backdrop-blur transition-colors duration-150 hover:border-[--gh-accent-emphasis] hover:bg-[rgba(31,111,235,0.18)] hover:text-[--gh-accent-emphasis] dark:hover:bg-[rgba(65,132,228,0.26)]"
268268
size="sm"
269269
:icon="isTocOpen ? 'i-lucide-x' : 'i-lucide-list-tree'"
270270
@click="isTocOpen = !isTocOpen"
@@ -275,10 +275,10 @@ function handleTocMove(_id?: string) {
275275

276276
<div
277277
v-if="isTocOpen"
278-
class="fixed inset-0 z-30 flex flex-col justify-end bg-black/60 backdrop-blur-sm"
278+
class="fixed inset-0 z-30 flex flex-col justify-end bg-black/60 backdrop-blur-sm pointer-events-auto"
279279
@click.self="isTocOpen = false"
280280
>
281-
<div class="mx-auto mb-6 w-[min(100%-2.5rem,28rem)] max-h-[70vh] overflow-y-auto rounded-3xl border border-[--surface-border]/80 bg-[--panel-bg] p-5 shadow-[0_24px_60px_-25px_rgba(15,23,42,0.6)]">
281+
<div class="mx-auto mb-6 w-[min(100%-2.5rem,28rem)] max-h-[70vh] overflow-y-auto rounded-3xl border border-[--surface-border]/80 bg-[--panel-bg] p-5 shadow-[0_24px_60px_-25px_rgba(15,23,42,0.6)] pointer-events-auto">
282282
<div class="mb-4 flex items-center justify-between">
283283
<p class="text-sm font-semibold text-muted-strong">
284284
文章目录

0 commit comments

Comments
 (0)