Apply min-height in wiki only on preview pane (#1993)

In the commit 5a56f9699c (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.
This commit is contained in:
Fl1tzi 2024-01-02 23:44:45 +01:00
parent 3ba2f85c64
commit 8f0baefe5d
No known key found for this signature in database
GPG key ID: 06B333727810C686

View file

@ -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 {