Skip to content

Commit 4889f73

Browse files
authored
fix: align sidebar sliding with the buttons (#1123)
* fix: aline the sidebar sliding with the buttons * build: force test to run on all platform if one platform is failing we cannot see if it's platform related as the other were closed
1 parent a0e8f14 commit 4889f73

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
tests:
2828
runs-on: ${{ matrix.os }}
2929
strategy:
30+
fail-fast: false
3031
matrix:
3132
os: [ubuntu-latest]
3233
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]

src/pydata_sphinx_theme/assets/styles/sections/_sidebar-toggle.scss

+2-4
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,13 @@ input {
100100
}
101101

102102
.bd-sidebar-primary {
103-
// One breakpoint less than $breakpoint-sidebar-primary. See variables/_layout.scss for more info.
104-
@include media-breakpoint-down(md) {
103+
@include media-breakpoint-down($breakpoint-sidebar-primary) {
105104
@include sliding-drawer("left");
106105
}
107106
}
108107

109108
.bd-sidebar-secondary {
110-
// One breakpoint less than $breakpoint-sidebar-secondary. See variables/_layout.scss for more info.
111-
@include media-breakpoint-down(lg) {
109+
@include media-breakpoint-down($breakpoint-sidebar-secondary) {
112110
@include sliding-drawer("right");
113111
}
114112
}

0 commit comments

Comments
 (0)