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>
tokarchuk/v1.17
Gusted 3 years ago committed by GitHub
parent a5b4720b91
commit 062b051687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      web_src/less/_repository.less

@ -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,15 +1053,15 @@
border-right-color: var(--color-box-body); border-right-color: var(--color-box-body);
} }
} }
}
.markup { .markup {
font-size: 14px; font-size: 14px;
} }
.no-content { .no-content {
color: var(--color-text-light-2); color: var(--color-text-light-2);
font-style: italic; font-style: italic;
}
} }
.ui.form { .ui.form {

Loading…
Cancel
Save