aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-21 21:16:14 +0800
committerGitHub <noreply@github.com>2023-09-21 21:16:14 +0800
commitc2cabe7b285684eb3197f99aa91bb184674e8461 (patch)
tree0bc6db8a1ed207cac3878bb6794c51fc70091c32 /web_src
parent2f8e1604f825ab862ba1b182dda47d9dee40aace (diff)
downloadgitea-c2cabe7b285684eb3197f99aa91bb184674e8461.tar.gz
gitea-c2cabe7b285684eb3197f99aa91bb184674e8461.zip
Fix repo sub menu (#27169)
Fix #27166
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/base.css1
-rw-r--r--web_src/css/repo.css5
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 {