Skip to content

Commit

Permalink
fix(MainHeader): disappearing on small screens (#5279)
Browse files Browse the repository at this point in the history
Fixes bug introduced in #5215 - instead of removing `.main-header
.main-header__counter` line, it was changed to `.main-header`.
  • Loading branch information
magicznyleszek authored and Guitlle committed Nov 20, 2024
1 parent 24745b5 commit 4e952fd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions jsapp/scss/components/_kobo.navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,8 @@

// Form title + desc in header, editable

// On smaller screens we hide both of them
.main-header .main-header__icon,
.main-header {
// On smaller screens we hide the icon
.main-header .main-header__icon {
display: none;
}

Expand Down Expand Up @@ -287,8 +286,7 @@
}

@include breakpoints.breakpoint(mediumAndUp) {
.main-header .main-header__icon,
.main-header {
.main-header .main-header__icon {
display: initial;
}

Expand Down

0 comments on commit 4e952fd

Please sign in to comment.