mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 16:40:52 +00:00
Make the height of the editor in Review Box smaller (4 lines as GitHub) (#18319)
And shrink the height of Dropzone.
This commit is contained in:
parent
9dcf0bf6ec
commit
11b4827791
3 changed files with 20 additions and 11 deletions
|
@ -1,10 +1,16 @@
|
|||
.dropzone {
|
||||
border: 2px dashed var(--color-secondary) !important;
|
||||
background: none !important;
|
||||
box-shadow: none !important;
|
||||
padding: 0 !important;
|
||||
min-height: 5rem !important;
|
||||
border-radius: 4px !important;
|
||||
.ui .field {
|
||||
.dropzone {
|
||||
border: 2px dashed var(--color-secondary);
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
border-radius: 4px;
|
||||
min-height: 0;
|
||||
margin-top: -1em; // we have another `field` above, it's usually an EasyMDE editor with "status bar", so we do not need the space above.
|
||||
.dz-message {
|
||||
margin: 10px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropzone .dz-button {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue