Skip to content

Commit bb84516

Browse files
committed
fix(sidebar): apply bottom padding to entire category
1 parent 2cce47b commit bb84516

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/styles/components/_doc-sidebar.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ html[data-theme='dark'] {
4949
display: flex;
5050
align-items: center;
5151
height: var(--ifm-navbar-height);
52-
52+
5353
padding-inline-start: var(--sidebar-spacing-horizontal);
5454
padding-inline-end: var(--sidebar-spacing-horizontal);
5555
}
@@ -116,7 +116,7 @@ html[data-theme='dark'] {
116116
}
117117
}
118118

119-
.theme-doc-sidebar-item-category-level-1 > .menu__list > .menu__list-item:last-of-type {
119+
.theme-doc-sidebar-item-category-level-1 {
120120
padding-block-end: 1.5rem;
121121
}
122122

@@ -159,7 +159,7 @@ html[data-theme='dark'] {
159159
align-items: center;
160160
flex-direction: row-reverse;
161161
justify-content: flex-end;
162-
162+
163163
&::after {
164164
background: var(--ifm-menu-link-sublist-icon) center / var(--dropdown-icon-width) var(--dropdown-icon-height);
165165
background-repeat: no-repeat;
@@ -180,7 +180,7 @@ html[data-theme='dark'] {
180180
& > .menu__list-item-collapsible {
181181
.menu__link {
182182
color: var(--sidebar-category-c);
183-
183+
184184
font-weight: 600;
185185
font-size: 0.938rem;
186186
line-height: 100%;

0 commit comments

Comments
 (0)