mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:44:26 +00:00
Show 12 lines in markup code preview (#30255)
Show up to 12 lines instead of previous 5.
This commit is contained in:
parent
e006451ab1
commit
6f4e2e79ff
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
.markup .code-preview-container table {
|
.markup .code-preview-container table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 100px;
|
max-height: 240px; /* 12 lines at 20px per line */
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin: 0; /* override ".markup table {margin}" */
|
margin: 0; /* override ".markup table {margin}" */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user