Skip to content

Commit 4aec1f8

Browse files
authored
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.
1 parent bc719f5 commit 4aec1f8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

web_src/css/dashboard.css

-4
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@
171171
border-bottom: 1px solid var(--color-secondary);
172172
}
173173

174-
.feeds .list ul li.private {
175-
background-color: var(--color-box-body-highlight);
176-
}
177-
178174
.feeds .list ul li .repo-list-link {
179175
padding: 6px 1em;
180176
display: block;

web_src/js/components/DashboardRepoList.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
</div>
7171
<div v-if="repos.length" class="ui attached table segment gt-rounded-bottom">
7272
<ul class="repo-owner-name-list">
73-
<li v-for="repo in repos" :class="{'private': repo.private || repo.internal}" :key="repo.id">
73+
<li v-for="repo in repos" :key="repo.id">
7474
<a class="repo-list-link gt-df gt-ac gt-sb" :href="repo.link">
7575
<div class="item-name gt-df gt-ac gt-f1">
7676
<svg-icon :name="repoIcon(repo)" :size="16" class-name="gt-mr-2"/>

0 commit comments

Comments
 (0)