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 /data | |
| 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 'data')
| -rw-r--r-- | data/templates/styles.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html index 2bbb78bfa..15f34bf56 100644 --- a/data/templates/styles.html +++ b/data/templates/styles.html @@ -167,6 +167,11 @@ div.columns{display: flex; gap: min(4vw, 1.5em);} 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; +} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ |
