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 GiteaBot committed Apr 3, 2024
1 parent 6bf6fa8 commit d9205d0
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 d9205d0

Please sign in to comment.