From 8d9e2d07f3f84a86265fdbe0ab7fcf63cc34ddbd Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 21 Sep 2023 21:22:38 +0800 Subject: [PATCH] Fix repo sub menu (#27169) (#27170) Backport #27169 by @wxiaoguang Fix #27166 Co-authored-by: wxiaoguang --- web_src/css/base.css | 1 - web_src/css/repo.css | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index a305701332..6b33ec4111 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -420,7 +420,6 @@ a.silenced:hover { } a.label, -.repository-menu a, .ui.search .results a, .ui .menu a, .ui.cards a.card, diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 8ec9908f73..b7b14f7407 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -2044,7 +2044,7 @@ border: none; display: flex; align-items: center; - padding: 0 0.5em; /* make the UI look better for narrow (mobile) view */ + padding: 0; overflow: hidden; } @@ -2056,7 +2056,8 @@ align-items: center; justify-content: center; 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 {