Skip to content

Commit efd5cc8

Browse files
Merge pull request #336 from creativecommons/viewport-overflow
correct horizontal viewport overflow due to pagination `nav` element
2 parents 2b899a7 + 44c53aa commit efd5cc8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/css/vocabulary.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ main > aside.sidebar .attention a {
385385

386386
main h2 {
387387
width: 100%;
388+
box-sizing: border-box;
388389

389390
font-family: 'Roboto Condensed';
390391
font-style: normal;
@@ -394,6 +395,8 @@ main h2 {
394395
}
395396

396397
main h3 {
398+
box-sizing: border-box;
399+
397400
font-family: 'Roboto Condensed';
398401
font-style: normal;
399402
font-weight: 700;
@@ -2013,10 +2016,6 @@ body > footer .license svg {
20132016
order: -1;
20142017
}
20152018

2016-
main nav.pagination {
2017-
width: 100%;
2018-
}
2019-
20202019
main nav.pagination ol {
20212020
/* width: 100%; */
20222021
flex-wrap: wrap;

0 commit comments

Comments
 (0)