Skip to content

Commit c052f76

Browse files
authored
1 parent bd8a253 commit c052f76

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

web_src/js/components/DashboardRepoList.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<div v-if="repos.length" class="ui attached table segment gt-rounded-bottom">
7171
<ul class="repo-owner-name-list">
7272
<li class="gt-df gt-ac gt-py-3" v-for="repo, index in repos" :class="{'active': index === activeIndex}" :key="repo.id">
73-
<a class="repo-list-link muted gt-df gt-ac gt-f1 gt-gap-3" :href="repo.link">
73+
<a class="repo-list-link muted" :href="repo.link">
7474
<svg-icon :name="repoIcon(repo)" :size="16" class-name="repo-list-icon"/>
7575
<div class="text truncate">{{ repo.full_name }}</div>
7676
<div v-if="repo.archived">
@@ -126,8 +126,8 @@
126126
</h4>
127127
<div v-if="organizations.length" class="ui attached table segment gt-rounded-bottom">
128128
<ul class="repo-owner-name-list">
129-
<li class="gt-df gt-ac" v-for="org in organizations" :key="org.name">
130-
<a class="repo-list-link muted gt-df gt-ac gt-f1" :href="subUrl + '/' + encodeURIComponent(org.name)">
129+
<li class="gt-df gt-ac gt-py-3" v-for="org in organizations" :key="org.name">
130+
<a class="repo-list-link muted" :href="subUrl + '/' + encodeURIComponent(org.name)">
131131
<svg-icon name="octicon-organization" :size="16" class-name="repo-list-icon"/>
132132
<div class="text truncate">{{ org.name }}</div>
133133
<div><!-- div to prevent underline of label on hover -->
@@ -504,6 +504,10 @@ ul li:not(:last-child) {
504504
505505
.repo-list-link {
506506
min-width: 0; /* for text truncation */
507+
display: flex;
508+
align-items: center;
509+
flex: 1;
510+
gap: 0.5rem;
507511
}
508512
509513
.repo-list-link .svg {

0 commit comments

Comments
 (0)