Skip to content

Commit

Permalink
fix(css): breadcrumbs media query (#2719)
Browse files Browse the repository at this point in the history
Change meda query for breadcrumbs. Allow coverage for all view ports.
Including values between 650px and 651px
  • Loading branch information
elaffen authored Nov 1, 2024
1 parent c43a438 commit f71573f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/css/breadcrumbs.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
rotate: 180deg;
}

@media (max-width: 650px) {
@media (width < 650px) {
& > :is(ol, ul):not(:only-child) {
display: none; /* Hide list when mobile and having back link */
}
}

@media (min-width: 651px) {
@media (min-width: 650px) {
& > :is(:not(ol, ul)):not(:only-child) {
display: none; /* Hide back link when desktop and having list */
}
Expand Down

0 comments on commit f71573f

Please sign in to comment.