Skip to content

Commit 6f4e2e7

Browse files
authored
Show 12 lines in markup code preview (go-gitea#30255)
Show up to 12 lines instead of previous 5.
1 parent e006451 commit 6f4e2e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/css/markup/codepreview.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
.markup .code-preview-container table {
1414
width: 100%;
15-
max-height: 100px;
15+
max-height: 240px; /* 12 lines at 20px per line */
1616
overflow-y: auto;
1717
margin: 0; /* override ".markup table {margin}" */
1818
}

0 commit comments

Comments
 (0)