aboutsummaryrefslogtreecommitdiff
path: root/test/s5-basic.html
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-08-03 09:49:42 -0700
committerJohn MacFarlane <[email protected]>2022-08-03 09:51:21 -0700
commit473c3f22ecf78358950f40693dd81020905024d8 (patch)
tree95cc8730ad8f2013a27ebff046d28dbc8597fe51 /test/s5-basic.html
parent0d7f80c87ff3948669356c7963118d90533cd519 (diff)
Improve default CSS for task lists.
This ensures that there is a space between the checkbox and the following content and that subsequent content lines up. Closes #8151. Supersedes and closes #8163.
Diffstat (limited to 'test/s5-basic.html')
-rw-r--r--test/s5-basic.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/s5-basic.html b/test/s5-basic.html
index 4b6668c96..1d0f8a3f9 100644
--- a/test/s5-basic.html
+++ b/test/s5-basic.html
@@ -17,6 +17,11 @@
div.column{flex: 1;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
+ ul.task-list li input[type="checkbox"] {
+ width: 0.8em;
+ margin: 0 0.8em 0.2em -1.6em;
+ vertical-align: middle;
+ }
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<!-- configuration parameters -->