Skip to content

Commit

Permalink
Merge pull request #223 from creativecommons/too-wide-nav
Browse files Browse the repository at this point in the history
Fix layout collapse on mobile devices caused by overly wide navigation
  • Loading branch information
TimidRobot authored Nov 15, 2024
2 parents c895e32 + 29752e2 commit 084acc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/cc-legal-tools/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@


/* Ancilliary menu */
.ancilliary-menu {
font-size: min(.8em, 2.5vw);
}
.bidi-left div.masthead > nav.ancilliary-menu {
left: auto;
right: 0;
right: calc( -1 * var(--vocabulary-page-edges-space));
}
.bidi-right div.masthead > nav.ancilliary-menu {
left: 0;
Expand Down

0 comments on commit 084acc1

Please sign in to comment.