Make li/.nowrap styles usable in more cases

This commit is contained in:
Ilya Ig. Petrov 2017-06-01 19:08:04 +05:00
parent 6703b5d644
commit 9c741bba99

View File

@ -41,10 +41,12 @@ export default function append(document, { flags }) {
list-style-type: none; list-style-type: none;
} }
li, .nowrap { li, .nowrap {
display: block;
white-space: nowrap; white-space: nowrap;
word-break: keep-all; word-break: keep-all;
} }
.nowrap {
display: block;
}
li, li > * { li, li > * {
vertical-align: middle; vertical-align: middle;
} }