Skip to content

Commit

Permalink
Merge pull request #809 from sinsong/master
Browse files Browse the repository at this point in the history
Fix .bd-sizebar-secondary and .secondary-toggle breakpoint
  • Loading branch information
agoose77 authored Jun 12, 2024
2 parents 3b6fd68 + 9939b7a commit bd60e86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ button.sidebar-toggle.primary-toggle {

// Secondary toggle mimics behavior of "persistent header" div of PST
button.sidebar-toggle.secondary-toggle {
@media (min-width: $breakpoint-lg) {
@media (min-width: $breakpoint-xl) {
display: none;
}
@media (max-width: $breakpoint-md) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// So that it sticks to the top of the page instead of the header height
top: 0;

@media (max-width: $breakpoint-lg) {
@media (max-width: $breakpoint-xl) {
// So that tooltips don't overlap
z-index: $zindex-tooltip + 1;
}
Expand Down Expand Up @@ -36,7 +36,7 @@
}

// Wide screen behavior
@media (min-width: $breakpoint-lg) {
@media (min-width: $breakpoint-xl) {
background: var(--pst-color-background);
height: fit-content;
transition: max-height 0.4s ease;
Expand Down

0 comments on commit bd60e86

Please sign in to comment.