mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-21 09:33:48 +08:00
3ccda41a53
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>
32 lines
577 B
CSS
32 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;
|
|
}
|