aboutsummaryrefslogtreecommitdiff
path: root/acarp.css
diff options
context:
space:
mode:
Diffstat (limited to 'acarp.css')
-rw-r--r--acarp.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/acarp.css b/acarp.css
index a292f90..c3dcdb5 100644
--- a/acarp.css
+++ b/acarp.css
@@ -332,8 +332,9 @@ section .math {
/* Horizontal offset utilities - add left padding.
Works on inline spans (offset within a line) and block wrappers
(indents the whole block). Cleaner than runs of  .
- For custom offsets, use an inline-padded element instead:
- <span style="padding-left: 8em">text</span> */
+ Note: inline style="" attrs are stripped by Marp's sanitizer unless
+ HTML mode is enabled, so prefer these classes over inline padding-left.
+ For custom offsets without HTML mode there is no inline fallback. */
.hspace-tiny { padding-left: 0.5em !important; }
.hspace-small { padding-left: 1em !important; }
.hspace-medium { padding-left: 2em !important; }