Skip to content

Commit 29f3ba9

Browse files
reduce document width on wider displays (#571)
* reduce document width on wider displays * 80rem * left align text
1 parent bc9a53c commit 29f3ba9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css/elements.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ body {
110110

111111
#spec-container {
112112
padding: 0 20px;
113+
max-width: 80rem;
114+
margin: 0 auto;
113115
flex-grow: 1;
114116
flex-basis: 66%;
115117
box-sizing: border-box;
@@ -319,6 +321,7 @@ emu-note {
319321
border-left: 5px solid #52e052;
320322
background: #e9fbe9;
321323
padding: 10px 10px 10px 0;
324+
overflow-x: auto;
322325
}
323326

324327
emu-note > span.note {
@@ -728,7 +731,8 @@ emu-annex emu-annex emu-annex emu-annex emu-annex emu-annex {
728731
/* Figures and tables */
729732
figure {
730733
display: block;
731-
margin: 1em 0 3em 0;
734+
overflow-x: auto;
735+
margin: 1.5em 0;
732736
}
733737
figure object {
734738
display: block;

0 commit comments

Comments
 (0)