Skip to content

Commit

Permalink
Merge pull request #157 from dawidsawa/development
Browse files Browse the repository at this point in the history
fix: code blocks in preview
  • Loading branch information
zugdev authored Nov 11, 2024
2 parents b5a84f7 + a1b9662 commit d42ffd7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions static/style/inverted-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,14 @@
position: relative;
display: inline-block;
width: 100%;
overflow: scroll;
height: 48px;
box-sizing: border-box;
overflow-x: auto;
padding: 16px;
background-color: #7f7f7f20;
}
.preview pre code {
position: absolute;
font-family: monospace;
font-size: 12px;
}
.preview ol,
.preview ul {
Expand Down
8 changes: 5 additions & 3 deletions static/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,14 @@
position: relative;
display: inline-block;
width: 100%;
overflow: scroll;
height: 48px;
box-sizing: border-box;
overflow-x: auto;
padding: 16px;
background-color: #80808020;
}
.preview pre code {
position: absolute;
font-family: monospace;
font-size: 12px;
}
.preview ol,
.preview ul {
Expand Down

0 comments on commit d42ffd7

Please sign in to comment.