Skip to content

Commit 737d9de

Browse files
committed
add width:stretch as comments for now
and remove white-space nowrap for tables in figure elements
1 parent f0321a6 commit 737d9de

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

classless.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:la
3636

3737
table {
3838
width: 100%;
39+
/* so that margins also work: test! *
40+
width:-moz-available;
41+
width:-webkit-fill-available;
42+
width:stretch;
43+
*/
44+
3945
font-size: max(.7em, 14px);
4046
}
4147
tr {
@@ -144,7 +150,10 @@ button:disabled {
144150
opacity: .2;
145151
}
146152

153+
table {
154+
word-break: normal;
147155

156+
}
148157

149158
/* figure */
150159
figure {
@@ -166,9 +175,11 @@ figure > img {
166175
border-bottom-left-radius: 0;
167176
border-bottom-right-radius: 0;
168177
}
178+
/*
169179
figure table {
170180
white-space: nowrap;
171181
}
182+
*/
172183
figcaption {
173184
opacity: .7;
174185
font-size: .9rem;

0 commit comments

Comments
 (0)