Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc98ec74

Browse files
committed
Update layout styles for improved responsiveness and consistency
1 parent3a2fe5b commitc98ec74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/components/layout/TheToc.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const pageToc = computed(() => {
2323
<template>
2424
<nav
2525
aria-labelledby="on-this-page-title"
26-
class="flex h-full w-56 flex-col justify-between"
26+
class="flex h-full w-72 flex-col justify-between"
2727
>
2828
<div>
2929
<h3

‎src/layouts/article.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const reader = useReaderStore()
1212
>
1313
<!-- article-->
1414
<div
15-
class="min-w-0 flex-auto px-4 py-12lg:pl-8 lg:pr-0xl:px-16"
15+
class="min-w-0 flex-auto px-4 py-12 xl:pr-16"
1616
:class="[reader.isActive ? 'max-w-2xl lg:max-w-4xl' : 'lg:max-w-4xl']"
1717
>
1818
<article>
@@ -29,7 +29,7 @@ const reader = useReaderStore()
2929
<!-- table of content-->
3030
<div
3131
v-show="!reader.isActive"
32-
class="hidden w-56 overflow-x-hidden xl:sticky xl:top-[4.3rem] xl:-mr-6 xl:block xl:h-[calc(100vh-3.6rem)] xl:flex-none xl:overflow-y-auto xl:py-10 xl:pr-6"
32+
class="hidden w-64 overflow-x-hidden xl:sticky xl:top-[4.3rem] xl:-mr-6 xl:block xl:h-[calc(100vh-3.6rem)] xl:flex-none xl:overflow-y-auto xl:py-10 xl:pr-6"
3333
>
3434
<the-toc />
3535
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp