Skip to content

Commit

Permalink
Show 12 lines in markup code preview (#30255)
Browse files Browse the repository at this point in the history
Show up to 12 lines instead of previous 5.
  • Loading branch information
silverwind authored Apr 3, 2024
1 parent e006451 commit 6f4e2e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/css/markup/codepreview.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

.markup .code-preview-container table {
width: 100%;
max-height: 100px;
max-height: 240px; /* 12 lines at 20px per line */
overflow-y: auto;
margin: 0; /* override ".markup table {margin}" */
}
Expand Down

0 comments on commit 6f4e2e7

Please sign in to comment.