1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 18:58:38 +00:00

Fix empty git repo handling logic and fix mobile view (#33101) (#33102)

Backport #33101 and UI fix from main (including #33108)
This commit is contained in:
wxiaoguang
2025-01-05 23:18:02 +08:00
committed by GitHub
parent fd281518ae
commit e637008fe3
11 changed files with 56 additions and 44 deletions

View File

@@ -336,8 +336,13 @@ a.label,
border-color: var(--color-secondary);
}
.ui.dropdown .menu > .header {
text-transform: none; /* reset fomantic's "uppercase" */
}
.ui.dropdown .menu > .header:not(.ui) {
color: var(--color-text);
font-size: 0.95em; /* reset fomantic's small font-size */
}
.ui.dropdown .menu > .item {
@@ -691,11 +696,6 @@ input:-webkit-autofill:active,
box-shadow: 0 6px 18px var(--color-shadow) !important;
}
.ui.dropdown .menu > .header {
font-size: 0.8em;
text-transform: none; /* reset fomantic's "uppercase" */
}
.ui .text.left {
text-align: left !important;
}

View File

@@ -66,7 +66,8 @@
align-items: stretch;
}
/* hide all items */
#navbar .item {
#navbar .navbar-left > .item,
#navbar .navbar-right > .item {
display: none;
}
#navbar #navbar-logo {