mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-03-25 18:43:03 -04:00
1. Remove excess left and right margins 2. Remove excess bottom margin 3. Fixed the missing top rounded corner when repo is 0 | Before | After | |----|----| |  |  | |  |  | |  |  | Co-authored-by: 0ko <0ko@noreply.codeberg.org> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11461 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: panc <pan0xc@foxmail.com> Co-committed-by: panc <pan0xc@foxmail.com>
85 lines
1.7 KiB
CSS
85 lines
1.7 KiB
CSS
.dashboard.feeds .context.user.menu,
|
|
.dashboard.issues .context.user.menu {
|
|
z-index: 101;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.dashboard.feeds .context.user.menu .ui.header,
|
|
.dashboard.issues .context.user.menu .ui.header {
|
|
font-size: 1rem;
|
|
text-transform: none;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu,
|
|
.dashboard.issues .filter.menu {
|
|
width: initial;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu .item,
|
|
.dashboard.issues .filter.menu .item {
|
|
text-align: left;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu .item .text.truncate,
|
|
.dashboard.issues .filter.menu .item .text.truncate {
|
|
width: 75%;
|
|
}
|
|
|
|
/* Sort */
|
|
.dashboard.feeds .filter.menu .jump.item,
|
|
.dashboard.issues .filter.menu .jump.item {
|
|
margin: 1px;
|
|
padding-right: 0;
|
|
}
|
|
|
|
.dashboard.feeds .filter.menu .menu,
|
|
.dashboard.issues .filter.menu .menu {
|
|
max-height: 300px;
|
|
overflow-x: auto;
|
|
right: 0 !important;
|
|
left: auto !important;
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.dashboard.feeds .filter.menu,
|
|
.dashboard.issues .filter.menu {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.dashboard.feeds .right.stackable.menu > .item.active,
|
|
.dashboard.issues .right.stackable.menu > .item.active {
|
|
color: var(--color-red);
|
|
}
|
|
|
|
.dashboard .dashboard-repos,
|
|
.dashboard .dashboard-orgs {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.dashboard .secondary-nav {
|
|
padding: 1px 12px; /* match .overflow-menu-items in height */
|
|
}
|
|
|
|
.dashboard .secondary-nav .right.menu {
|
|
gap: .35714286em;
|
|
}
|
|
|
|
.dashboard .secondary-nav .right.menu div.item {
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
.dashboard .secondary-nav .org-visibility .label {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.dashboard .secondary-nav .ui.dropdown {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.dashboard .help {
|
|
color: var(--color-secondary-dark-8);
|
|
}
|