summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-08-24 23:45:29 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-08-25 01:34:40 -0600
commit0ea4dff461f63ccb06bdf90b75d013f82780bfea (patch)
tree25910af33af8c341ef67c566bf103105ac55f28a /data
parenteb0d051a743b878eb14dc37971706e1754e9397e (diff)
use flexbox instead of floats to lay out inline list
Diffstat (limited to 'data')
-rw-r--r--data/stylesheets/asciidoctor-default.css5
1 files changed, 2 insertions, 3 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css
index 6698216b..f3b5f183 100644
--- a/data/stylesheets/asciidoctor-default.css
+++ b/data/stylesheets/asciidoctor-default.css
@@ -280,9 +280,8 @@ ul.unstyled,ol.unstyled{margin-left:0}
ul.checklist{margin-left:.625em}
ul.checklist li>p:first-child>.fa-square-o:first-child,ul.checklist li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em}
ul.checklist li>p:first-child>input[type="checkbox"]:first-child{margin-right:.25em}
-ul.inline{margin:0 auto .625em auto;margin-left:-1.375em;margin-right:0;padding:0;list-style:none;overflow:hidden}
-ul.inline>li{list-style:none;float:left;margin-left:1.375em;display:block}
-ul.inline>li>*{display:block}
+ul.inline{display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap;list-style:none;margin:0 0 .625em -1.25em}
+ul.inline>li{margin-left:1.25em}
.unstyled dl dt{font-weight:400;font-style:normal}
ol.arabic{list-style-type:decimal}
ol.decimal{list-style-type:decimal-leading-zero}