diff options
| author | John MacFarlane <[email protected]> | 2022-08-03 09:49:42 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-08-03 09:51:21 -0700 |
| commit | 473c3f22ecf78358950f40693dd81020905024d8 (patch) | |
| tree | 95cc8730ad8f2013a27ebff046d28dbc8597fe51 /test/lhs-test.html+lhs | |
| parent | 0d7f80c87ff3948669356c7963118d90533cd519 (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/lhs-test.html+lhs')
| -rw-r--r-- | test/lhs-test.html+lhs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lhs-test.html+lhs b/test/lhs-test.html+lhs index 3a821f24c..f88dd4700 100644 --- a/test/lhs-test.html+lhs +++ b/test/lhs-test.html+lhs @@ -152,6 +152,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; + } pre > code.sourceCode { white-space: pre; position: relative; } pre > code.sourceCode > span { display: inline-block; line-height: 1.25; } pre > code.sourceCode > span:empty { height: 1.2em; } |
