Move merge-section to `> .content` (#17582)

* Move `> .merge-section` to `> .content` scope

- Fixes a issue that started from
https://github.com/go-gitea/gitea/pull/17317
- Move `> .merge-section` to the `> .content` scope.
- Resolves #17480

* Move `.merge-section` back to outside scope

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Gusted 2021-11-09 12:56:15 +01:00 committed by GitHub
parent a5b4720b91
commit 062b051687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 8 deletions

View File

@ -1018,7 +1018,7 @@
} }
} }
> .merge-section { .merge-section {
background-color: var(--color-box-body); background-color: var(--color-box-body);
.item { .item {
@ -1034,6 +1034,13 @@
margin-bottom: -.25rem; margin-bottom: -.25rem;
} }
@media @mediaSm {
.item-section {
align-items: flex-start;
flex-direction: column;
}
}
.divider { .divider {
margin-left: -1rem; margin-left: -1rem;
margin-right: -1rem; margin-right: -1rem;
@ -1046,6 +1053,7 @@
border-right-color: var(--color-box-body); border-right-color: var(--color-box-body);
} }
} }
}
.markup { .markup {
font-size: 14px; font-size: 14px;
@ -1055,7 +1063,6 @@
color: var(--color-text-light-2); color: var(--color-text-light-2);
font-style: italic; font-style: italic;
} }
}
.ui.form { .ui.form {
.field { .field {