Skip to content

Commit ddc2bf0

Browse files
authored
Make sidebar toggle margin more explicit (#796)
Resolves: rdar://123086813
1 parent 3343e95 commit ddc2bf0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/components/DocumentationTopic/DocumentationNav.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ $sidenav-icon-padding-size: 5px;
188188
display: flex;
189189
margin-top: 1px;
190190
191+
@include breakpoints-from(large, nav) {
192+
margin-right: $nav-padding / 2;
193+
}
194+
191195
// This is a hack to enforce the toggle to be visible when in breakpoint,
192196
// even if already toggled off on desktop. Conditionally checking the current breakpoint,
193197
// would trigger animations when switching between breakpoints.

src/components/NavBase.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -673,12 +673,6 @@ $content-max-width: map-deep-get($breakpoint-attributes, (nav, large, content-wi
673673
white-space: nowrap;
674674
box-sizing: border-box;
675675
676-
@include breakpoints-from(large, nav) {
677-
&:not(:first-child) {
678-
padding-left: $nav-padding / 2;
679-
}
680-
}
681-
682676
@include breakpoint(small, $scope: nav) {
683677
padding-top: 0;
684678
height: $nav-height-small;

0 commit comments

Comments
 (0)