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 14
14
{{end}}
15
15
{{end}}
16
16
{{if .IsAttachmentEnabled}}
17
- <div class="field not-under-easymde ">
17
+ <div class="field">
18
18
{{template "repo/upload" .}}
19
19
</div>
20
20
{{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
+
1
5
.EasyMDEContainer .CodeMirror {
2
6
color : var (--color-input-text );
3
7
background-color : var (--color-input-background );
Original file line number Diff line number Diff line change 6
6
padding : 0 ;
7
7
border-radius : 4px ;
8
8
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.
10
9
.dz-message {
11
10
margin : 10px 0 ;
12
11
}
13
12
}
14
13
}
15
14
16
- .ui .field.not-under-easymde {
17
- .dropzone {
18
- margin-top : 0 ; // the `field` above isn't an EasyMDE editor
19
- }
20
- }
21
-
22
15
.dropzone .dz-button {
23
16
color : var (--color-text-light ) !important ;
24
17
}
You can’t perform that action at this time.
0 commit comments