1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-07 09:15:53 +01:00

Show 12 lines in markup code preview (#30255)

Show up to 12 lines instead of previous 5.
This commit is contained in:
silverwind 2024-04-03 03:44:15 +02:00 committed by GitHub
parent e006451ab1
commit 6f4e2e79ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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}" */
}