Skip to content

Commit ae267dd

Browse files
author
Dobromir Hristov
authored
fix on this page spacing (#586)
1 parent e2c159a commit ae267dd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/DocumentationTopic/OnThisPageStickyContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default {
2424
@import 'docc-render/styles/_core.scss';
2525
2626
.OnThisPageStickyContainer {
27-
$top: $nav-height + rem(10px);
27+
$top: $nav-height + rem(13px);
2828
margin-top: $contenttable-spacing-single-side;
2929
position: sticky;
3030
top: $top;

src/components/OnThisPageNav.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ export default {
132132
ul {
133133
list-style-type: none;
134134
margin: 0;
135+
136+
li:first-child .base-link {
137+
margin-top: 0;
138+
}
135139
}
136140
137141
.parent-item .base-link {
@@ -142,7 +146,7 @@ ul {
142146
color: var(--color-figure-gray-secondary);
143147
@include font-styles(body-reduced-tight);
144148
display: inline-block;
145-
margin-bottom: 5px;
149+
margin: 5px 0;
146150
transition: color 0.15s ease-in;
147151
max-width: 100%;
148152
}

0 commit comments

Comments
 (0)