diff options
author | silverwind <me@silverwind.io> | 2022-12-16 20:57:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 20:57:22 +0100 |
commit | 4297aced9360c3ce6f10764ea7f16286e66319bc (patch) | |
tree | 614851038eec1aa68e68d880d850693760dfea62 /templates | |
parent | dd2343d01fff8851009545aac93e712549183655 (diff) | |
download | gitea-4297aced9360c3ce6f10764ea7f16286e66319bc.tar.gz gitea-4297aced9360c3ce6f10764ea7f16286e66319bc.zip |
Fix margin and alignment in dashboard repolist (#22120) (#22122)
Backport #22120 to 1.18. Seems this has recently regressed, previously,
there was a significant whitespace between icon and text, but it seems
to be gone, so I added the margin.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/dashboard/repolist.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl index 620cc322f0..9d0ea01ec5 100644 --- a/templates/user/dashboard/repolist.tmpl +++ b/templates/user/dashboard/repolist.tmpl @@ -128,9 +128,9 @@ <ul class="repo-owner-name-list"> <li v-for="repo in repos" :class="{'private': repo.private || repo.internal}"> <a class="repo-list-link df ac sb" :href="repo.html_url"> - <div class="text truncate item-name f1"> - <component v-bind:is="repoIcon(repo)" size="16"></component> - <strong>${repo.full_name}</strong> + <div class="item-name df ac f1 mr-2"> + <component v-bind:is="repoIcon(repo)" size="16" class="mr-2"></component> + <div class="text bold truncate ml-1">${repo.full_name}</div> <span v-if="repo.archived"> {{svg "octicon-archive" 16 "ml-2"}} </span> |