Fix repo sub menu (#27169) (#27170)

Backport #27169 by @wxiaoguang

Fix #27166

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot 2023-09-21 21:22:38 +08:00 committed by GitHub
parent b34727c632
commit 8d9e2d07f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -420,7 +420,6 @@ a.silenced:hover {
} }
a.label, a.label,
.repository-menu a,
.ui.search .results a, .ui.search .results a,
.ui .menu a, .ui .menu a,
.ui.cards a.card, .ui.cards a.card,

View File

@ -2044,7 +2044,7 @@
border: none; border: none;
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 0.5em; /* make the UI look better for narrow (mobile) view */ padding: 0;
overflow: hidden; overflow: hidden;
} }
@ -2056,7 +2056,8 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.25em; gap: 0.25em;
padding: 0 0.25em; padding: 0 0.5em; /* make the UI look better for narrow (mobile) view */
text-decoration: none;
} }
.repository .repository-summary .sub-menu .item.active { .repository .repository-summary .sub-menu .item.active {