mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-30 14:09:42 -05:00
1ee494a045
Fixes: https://github.com/go-gitea/gitea/issues/29981. Introduce `.secondary-nav` as a universal way for styling and margin adjustments inside `.page-content`. If the first child of `.page-content` is `.secondary-nav`, we add margin below it, otherwise we add padding to the first child. Notable changes: - `--color-header-wrapper` is replaced with `--color-secondary-nav-bg`. - `navbar` class is removed. Co-authored-by: Giteabot <teabot@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> --- Conflict resolution: Trivial conflict & changed selector to reflect new classes. Ref: https://codeberg.org/forgejo/forgejo/issues/2776 (cherry picked from commit 3ccda41a539b8ba7841919ee12dc2877ddc03818)
31 lines
577 B
CSS
31 lines
577 B
CSS
.explore .secondary-nav {
|
|
border-width: 1px !important;
|
|
}
|
|
|
|
.explore .secondary-nav .svg {
|
|
width: 16px;
|
|
text-align: center;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.ui.repository.branches .info {
|
|
font-size: 12px;
|
|
color: var(--color-text-light);
|
|
display: flex;
|
|
white-space: pre;
|
|
}
|
|
|
|
.ui.repository.branches .info .commit-message {
|
|
max-width: 72em;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.ui.repository.branches .overflow-visible {
|
|
overflow: visible;
|
|
}
|
|
|
|
/* fix alignment of PR popup in branches table */
|
|
.ui.repository.branches table .ui.popup {
|
|
text-align: left;
|
|
}
|