Skip to content

Commit

Permalink
Show 12 lines in markup code preview (go-gitea#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 and AvengerMoJo committed Apr 8, 2024
1 parent ea0a365 commit aa0f2f8
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 aa0f2f8

Please sign in to comment.