0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 19:54:31 +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

View file

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