From 4aec1f87a4affe606e96e27c2e8660092aac3afb Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Fri, 12 May 2023 17:00:17 +0900 Subject: [PATCH] Remove highlight in repo list (#24675) Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/aa5e9f1f-48ff-4e9f-a693-23a34e390760) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/a4b58a6c-4ea3-4ded-80df-2e650d39a1d3) private or internal repos have `lock` icon, no need to add highlights to them. --- web_src/css/dashboard.css | 4 ---- web_src/js/components/DashboardRepoList.vue | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/web_src/css/dashboard.css b/web_src/css/dashboard.css index 4512367dc..6048c0cda 100644 --- a/web_src/css/dashboard.css +++ b/web_src/css/dashboard.css @@ -171,10 +171,6 @@ border-bottom: 1px solid var(--color-secondary); } -.feeds .list ul li.private { - background-color: var(--color-box-body-highlight); -} - .feeds .list ul li .repo-list-link { padding: 6px 1em; display: block; diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue index 5cedbcb00..161fca941 100644 --- a/web_src/js/components/DashboardRepoList.vue +++ b/web_src/js/components/DashboardRepoList.vue @@ -70,7 +70,7 @@