From c2cabe7b285684eb3197f99aa91bb184674e8461 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 21 Sep 2023 21:16:14 +0800 Subject: [PATCH] Fix repo sub menu (#27169) Fix #27166 --- 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 {