Skip to content

Commit 814c435

Browse files
authored
fix: サイドバーと目次の文字サイズを14pxに変更 (#211)
1 parent 1d394f3 commit 814c435

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

website/src/components/ui/common/SideNavigation.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ export const SideNavigation = ({
1515
}: SideNavigationProps) => {
1616
return (
1717
<nav class="folding flex-none w-full bg-white border border-neutral-200/60 rounded-md sticky top-[80px] mt-4 mb-8 h-[calc(100vh-80px-1rem)] overflow-auto px-3.5 py-3">
18-
<ul class="space-y-1 text-xs text-neutral-700">
18+
<ul class="space-y-1 text-sm text-neutral-700">
1919
{docs?.map((firstLevel, idx) => (
2020
<>
2121
{firstLevel.part && (
2222
<li
2323
key={firstLevel.part}
24-
class="category py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
24+
class="category py-2 text-sm font-semibold text-gray-500 uppercase tracking-wider"
2525
>
2626
{firstLevel.part}
2727
</li>
@@ -67,7 +67,7 @@ export const SideNavigation = ({
6767
{firstLevel.children.map((secondLevel, idx2) => (
6868
<div key={secondLevel.route}>
6969
{secondLevel.part && (
70-
<li class="category py-1 text-xs font-semibold text-gray-500 tracking-wide">
70+
<li class="category py-1 text-sm font-semibold text-gray-500 tracking-wide">
7171
{secondLevel.part}
7272
</li>
7373
)}

website/src/components/ui/common/TableOfContents.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ export const TableOfContents = ({ outline }: TableOfContentsProps) => {
1414
id="page-overview"
1515
class="flex-none w-full px-3.5 py-3 border border-neutral-200/60 rounded-md bg-white sticky top-[80px] mt-4 mb-8 h-[calc(100vh-80px-1rem)] overflow-auto"
1616
>
17-
<strong class="block mb-2 text-xs text-neutral-500 font-semibold tracking-wide">
17+
<strong class="block mb-2 text-sm text-neutral-500 font-semibold tracking-wide">
1818
目次
1919
</strong>
20-
<ol class="space-y-1 text-xs text-neutral-700">
20+
<ol class="space-y-1 text-sm text-neutral-700">
2121
{outline.map((item) => (
2222
<li key={item.id} data-assoc={item.id}>
2323
<a

0 commit comments

Comments
 (0)