Skip to content

Commit 7134af9

Browse files
committed
move min-width to css
1 parent 9b44680 commit 7134af9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web_src/js/components/DashboardRepoList.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<div v-if="repos.length" class="ui attached table segment gt-rounded-bottom">
7272
<ul class="repo-owner-name-list">
7373
<li class="gt-df gt-ac" v-for="repo in repos" :key="repo.id">
74-
<a class="repo-list-link muted gt-df gt-ac gt-f1 gt-min-w-0" :href="repo.link">
74+
<a class="repo-list-link muted gt-df gt-ac gt-f1" :href="repo.link">
7575
<svg-icon :name="repoIcon(repo)" :size="repoIconSize(repo)" class-name="repo-list-icon"/>
7676
<div class="text truncate">{{ repo.full_name }}</div>
7777
<div v-if="repo.archived">
@@ -127,7 +127,7 @@
127127
<div v-if="organizations.length" class="ui attached table segment gt-rounded-bottom">
128128
<ul class="repo-owner-name-list">
129129
<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 gt-min-w-0" :href="subUrl + '/' + encodeURIComponent(org.name)">
130+
<a class="repo-list-link muted gt-df gt-ac gt-f1" :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>
@@ -465,6 +465,7 @@ ul li:not(:last-child) {
465465
.repo-list-link {
466466
padding: 6px 0;
467467
gap: 6px;
468+
min-width: 0; /* for text truncation */
468469
}
469470
470471
.repo-list-link .svg {

0 commit comments

Comments
 (0)