mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 16:47:30 +00:00
Apply min-height in wiki only on preview pane (#28687)
In the commit5a56f9699c
(3.) the min-height was applied to all wiki elements. This resulted in huge blank spaces when viewing the wiki. This fixes this by only applying the min-height to the preview when editing. Refs: https://codeberg.org/forgejo/forgejo/pulls/2080 (cherry picked from commit8f0baefe5d
) Co-authored-by: Fl1tzi <git@fl1tzi.com>
This commit is contained in:
parent
54acf7b0d4
commit
92711b001e
|
@ -13,7 +13,10 @@
|
|||
|
||||
.repository.wiki .markup {
|
||||
overflow: visible;
|
||||
min-height: 340px;
|
||||
}
|
||||
|
||||
.repository.wiki .markup[data-tab-panel="markdown-previewer"] {
|
||||
min-height: 340px; /* This height matches the markdown editor's height */
|
||||
}
|
||||
|
||||
.repository.wiki .wiki-content-parts .markup {
|
||||
|
|
Loading…
Reference in a new issue