Skip to content

Commit 38376a7

Browse files
authored
make the docs sidebar wider (#7188)
1 parent e9d64f2 commit 38376a7

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.nextra-sidebar.nextra-sidebar {
2+
width: 300px;
3+
4+
& ul {
5+
padding-left: 4px;
6+
margin-left: 9px;
7+
8+
& .x\:text-gray-500 {
9+
@apply text-gray-700 dark:text-neutral-300;
10+
}
11+
}
12+
}
13+
14+
article.x\:min-h-\[calc\(100vh-var\(--nextra-navbar-height\)\)\] {
15+
@apply md:pl-6 md:pr-8;
16+
}

packages/web/docs/src/app/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import '../selection-styles.css';
2020
import '../easing-functions.css';
2121
import '../mermaid.css';
2222
import { NarrowPages } from './narrow-pages';
23+
import './global.css';
2324

2425
export const metadata = getDefaultMetadata({
2526
productName: PRODUCTS.HIVE.name,

0 commit comments

Comments
 (0)