aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-06-05 20:34:25 +0800
committerGitHub <noreply@github.com>2023-06-05 12:34:25 +0000
commit8e63373c014ea681309a2e44ecfb0fbfb88a16f7 (patch)
tree33840503819146621b12cf0cf1c0e47dbddbfa99
parent315124b4693dd56d94d52cda3015611184a49a27 (diff)
downloadgitea-8e63373c014ea681309a2e44ecfb0fbfb88a16f7.tar.gz
gitea-8e63373c014ea681309a2e44ecfb0fbfb88a16f7.zip
Use correct selector for hiding RSS icon link in the branch selector dropdown (#25080)
Fix #25079 ![image](https://github.com/go-gitea/gitea/assets/2114189/5d3f2f49-018a-4b75-8c90-ffafd898697a) ![image](https://github.com/go-gitea/gitea/assets/2114189/3e9dcf2e-eca7-4e96-be79-3b26f222cdb9) ![image](https://github.com/go-gitea/gitea/assets/2114189/855fffa4-0220-4ca2-a5e0-58c376fdc378) ![image](https://github.com/go-gitea/gitea/assets/2114189/f5ffa7e6-a974-4698-a45d-e38091903be1)
-rw-r--r--web_src/js/components/RepoBranchTagSelector.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/components/RepoBranchTagSelector.vue b/web_src/js/components/RepoBranchTagSelector.vue
index 9381de9f82..2b0715a092 100644
--- a/web_src/js/components/RepoBranchTagSelector.vue
+++ b/web_src/js/components/RepoBranchTagSelector.vue
@@ -296,10 +296,10 @@ export default sfc; // activate IDE's Vue plugin
</script>
<style scoped>
-.menu .item a {
+.menu .item .rss-icon {
display: none; /* only show RSS icon on hover */
}
-.menu .item:hover a {
+.menu .item:hover .rss-icon {
display: inline-block;
}
</style>