Skip to content

Commit c83c6d8

Browse files
authored
chore: remove unused min-height style (#2917)
1 parent 3ec6aec commit c83c6d8

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/core/src/theme/components/Overview/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,13 @@ const OverviewSearchInput = ({
6666
export function Overview(props: {
6767
content?: React.ReactNode;
6868
groups?: Group[];
69-
defaultGroupTitle?: string;
7069
overviewHeaders?: number[];
7170
}) {
7271
const {
7372
siteData,
7473
page: { routePath, title, frontmatter },
7574
} = usePageData();
76-
const {
77-
content,
78-
groups: customGroups,
79-
defaultGroupTitle: _ = 'Others',
80-
} = props;
75+
const { content, groups: customGroups } = props;
8176
const t = useI18n();
8277

8378
// Added state for search query

packages/core/src/theme/layout/DocLayout/index.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
position: relative;
6868
width: 100%;
6969
overflow-x: auto;
70-
min-height: 60vh;
7170
padding: var(--rp-content-padding-y) var(--rp-content-padding-x);
7271
}
7372

@@ -98,7 +97,6 @@
9897
}
9998

10099
&__doc-container {
101-
min-height: 60vh;
102100
padding: var(--rp-content-padding-y) var(--rp-content-padding-x);
103101
}
104102

0 commit comments

Comments
 (0)