mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
Backport #30255 by @silverwind Show up to 12 lines instead of previous 5. <img width="929" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/de68f200-b9e2-4a25-bd6e-c46849849620"> Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
e8d5d5ed49
commit
5c9cbeafed
@ -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