Skip to content

Commit 0acf6bb

Browse files
authored
fix(styles): fixed inline margins in text blocks (#661)
1 parent 162102c commit 0acf6bb

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ MIT
8989
- `--yfm-color-accent`
9090
- `--yfm-tab-size`
9191
- `--yfm-text-block-margin-block`
92+
- `--yfm-text-block-margin-inline`
9293

9394
**code**
9495

README.ru.md

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ MIT
8989
- `--yfm-color-accent`
9090
- `--yfm-tab-size`
9191
- `--yfm-text-block-margin-block`
92+
- `--yfm-text-block-margin-inline`
9293

9394
**code**
9495

src/scss/_common.scss

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
table,
137137
pre {
138138
margin-block: var(--yfm-text-block-margin-block, 0 15px);
139+
margin-inline: var(--yfm-text-block-margin-inline, 0);
139140
}
140141

141142
ul,

0 commit comments

Comments
 (0)