1
1
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:
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

View File

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