Skip to content

Commit

Permalink
fixed indent issue with code elements inside pre elements
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSibley committed Aug 17, 2020
1 parent 3ff2dd9 commit 3b8231f
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 4 deletions.
4 changes: 4 additions & 0 deletions rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ code {
padding: 0 0.375em;
}

pre code {
padding: 0;
}

blockquote {
margin: 1.5em 0 1.5em 1.5em;
padding-right: 1.5em;
Expand Down
2 changes: 1 addition & 1 deletion rtl.min.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ code {
background: $color-gray-95;
padding: 0 $baseline-height / 4;
}
pre code {
padding :0;
}
blockquote {
margin: $baseline-height $baseline-height $baseline-height 0;
padding-left: $baseline-height;
Expand Down
3 changes: 3 additions & 0 deletions sass/editor-style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ code {
background: $color-gray-95;
padding: 0 $baseline-height / 4;
}
pre code {
padding :0;
}
blockquote {
margin: $baseline-height $baseline-height $baseline-height 0;
padding-left: $baseline-height;
Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ code {
padding: 0 0.375em;
}

pre code {
padding: 0;
}

blockquote {
margin: 1.5em 1.5em 1.5em 0;
padding-left: 1.5em;
Expand Down
2 changes: 1 addition & 1 deletion style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion style.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions styles/editor-style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion styles/editor-style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3b8231f

Please sign in to comment.