Skip to content

Commit b3852a8

Browse files
committed
docs: fix sidebar zindex
1 parent efe8b66 commit b3852a8

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

website/src/routes/docs/_layout.tsx

+15-15
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function Layout() {
3232
</div>
3333
<aside
3434
className={tx(
35-
"z-15 bg-bg-normal md:z-none border-r-bg-normal fixed w-48 border-r md:block md:border-none",
35+
"z-15 bg-bg-normal border-r-bg-normal fixed w-48 border-r md:z-0 md:block md:border-none",
3636
"scrollbar scrollbar-base overflow-y-auto",
3737
"max-h-[calc(100vh-var(--spacing)*16)] md:sticky md:top-16",
3838
opened ? "block" : "hidden",
@@ -130,12 +130,8 @@ const menus: Menu[] = [
130130
path: "components/number-input",
131131
},
132132
{
133-
label: "选择器",
134-
path: "components/select",
135-
},
136-
{
137-
label: "滑动输入条",
138-
path: "components/slider",
133+
label: "标签输入框",
134+
path: "components/tags-input",
139135
},
140136
{
141137
label: "多选框",
@@ -145,10 +141,22 @@ const menus: Menu[] = [
145141
label: "单选框组",
146142
path: "components/radio-group",
147143
},
144+
{
145+
label: "组合框",
146+
path: "components/combobox",
147+
},
148+
{
149+
label: "选择器",
150+
path: "components/select",
151+
},
148152
{
149153
label: "开关",
150154
path: "components/switch",
151155
},
156+
{
157+
label: "滑动输入条",
158+
path: "components/slider",
159+
},
152160
],
153161
},
154162
{
@@ -186,14 +194,6 @@ const menus: Menu[] = [
186194
label: "加载器",
187195
path: "components/spinner",
188196
},
189-
{
190-
label: "覆盖层",
191-
path: "components/overlay",
192-
},
193-
{
194-
label: "加载覆盖层",
195-
path: "components/spinner-overlay",
196-
},
197197
],
198198
},
199199
{

0 commit comments

Comments
 (0)