Skip to content

Commit 084acc1

Browse files
authored
Merge pull request #223 from creativecommons/too-wide-nav
Fix layout collapse on mobile devices caused by overly wide navigation
2 parents c895e32 + 29752e2 commit 084acc1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/cc-legal-tools/base.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010

1111

1212
/* Ancilliary menu */
13+
.ancilliary-menu {
14+
font-size: min(.8em, 2.5vw);
15+
}
1316
.bidi-left div.masthead > nav.ancilliary-menu {
1417
left: auto;
15-
right: 0;
18+
right: calc( -1 * var(--vocabulary-page-edges-space));
1619
}
1720
.bidi-right div.masthead > nav.ancilliary-menu {
1821
left: 0;

0 commit comments

Comments
 (0)