From: Mike L Date: Thu, 25 Feb 2021 12:35:43 +0000 (+0100) Subject: Fix dashboard UI bugs and more (#14767) X-Git-Tag: v1.15.0-dev~122 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4172b1955fabe79e5918145f4ad1b00911390de0;p=gitea.git Fix dashboard UI bugs and more (#14767) This PR fixes a few UI bugs I spontaneously encountered: - Fixes emojis in repo titles getting head-cut and tail-cut in dashboard feed due to introduction of 1.25 em emojis at 1 em line-height, by simply using the original 1 3/7 em value of `semantic.css` - Fixes regression (too long repo names should be capped to 70%) in #13828 due to flex children not respecting properties like `overflow: hidden;`, and removes a block of dead style code - Follow-up to #14761, removes extraneous code for top navbar and correct right margin for Font Awesome - Fixes color emphasis inversion in arc-green theme for top right buttons (edit, delete) on commit view boxes --- diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index efab76f33c..def83d9726 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -173,7 +173,7 @@
- + {{svg "octicon-server"}} {{.i18n.Tr "admin_panel"}} {{end}} diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl index 9115c62ecd..1f619ea833 100644 --- a/templates/user/dashboard/repolist.tmpl +++ b/templates/user/dashboard/repolist.tmpl @@ -123,9 +123,9 @@