blob: b511bff3ec59efc74250cede95323f6db8ef4741 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* `.js-upload-markdown-image` excludes non-comment attachment drop areas. See #2086 */
/* `:not(.js-comment-update)` excludes comment edition forms, as they lack the upload image button. See #4542 */
[rgh-minimize-upload-bar]
form:not(.js-comment-update)
.js-upload-markdown-image.is-default
.drag-and-drop {
display: none !important;
}
[rgh-minimize-upload-bar]
form:not(.js-comment-update)
.js-upload-markdown-image.is-default
textarea {
border-bottom-style: solid;
border-radius: 6px;
}
/* Show upload image button in PR minimized upload bar for desktop */
@media (min-width: 768px) {
[rgh-minimize-upload-bar]
.js-previewable-comment-form
label[aria-label^='Attach an image'] {
display: block !important;
padding: 4px !important;
}
}
|