File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1414 {{end}}
1515 {{end}}
1616 {{if .IsAttachmentEnabled}}
17- <div class="field not-under-easymde ">
17+ <div class="field">
1818 {{template "repo/upload" .}}
1919 </div>
2020 {{end}}
Original file line number Diff line number Diff line change 1+ .ui .field :not (:last-child ) .EasyMDEContainer .editor-statusbar {
2+ margin-bottom : -1em ; // when there is a statusbar, the "margin-bottom: 1em" of the "field" is not needed, because the statusbar is likely a blank line
3+ }
4+
15.EasyMDEContainer .CodeMirror {
26 color : var (--color-input-text );
37 background-color : var (--color-input-background );
Original file line number Diff line number Diff line change 66 padding : 0 ;
77 border-radius : 4px ;
88 min-height : 0 ;
9- 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.
109 .dz-message {
1110 margin : 10px 0 ;
1211 }
1312 }
1413}
1514
16- .ui .field.not-under-easymde {
17- .dropzone {
18- margin-top : 0 ; // the `field` above isn't an EasyMDE editor
19- }
20- }
21-
2215.dropzone .dz-button {
2316 color : var (--color-text-light ) !important ;
2417}
You can’t perform that action at this time.
0 commit comments