From 6187290fd01726c3dec4befc82fad1d3d7118c5f Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 29 Jun 2023 23:03:08 +0200 Subject: [PATCH 1/3] Adjust line-height on dashboard sidebar --- templates/user/dashboard/issues.tmpl | 2 +- web_src/css/dashboard.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index b8ae9ccaa4a3..2897bb6dffc6 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -33,7 +33,7 @@
- All + {{.locale.Tr "all"}} {{CountFmt .TotalIssueCount}} {{range .Repos}} diff --git a/web_src/css/dashboard.css b/web_src/css/dashboard.css index 34428c5999d1..2757afff176d 100644 --- a/web_src/css/dashboard.css +++ b/web_src/css/dashboard.css @@ -21,6 +21,9 @@ display: flex; align-items: center; justify-content: space-between; + line-height: 1.3; /* avoid cut-off letters because of too little line-height from fomantic */ + padding-top: 8.9px; + padding-bottom: 8.9px; } .dashboard.feeds .filter.menu .item .text.truncate, From 74181f4099ee8e0a6467510186a0064e37967c73 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 29 Jun 2023 23:06:19 +0200 Subject: [PATCH 2/3] comments --- web_src/css/dashboard.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/css/dashboard.css b/web_src/css/dashboard.css index 2757afff176d..32878091eac4 100644 --- a/web_src/css/dashboard.css +++ b/web_src/css/dashboard.css @@ -22,8 +22,8 @@ align-items: center; justify-content: space-between; line-height: 1.3; /* avoid cut-off letters because of too little line-height from fomantic */ - padding-top: 8.9px; - padding-bottom: 8.9px; + padding-top: 8.9px; /* adjust for increased line-height */ + padding-bottom: 8.9px; /* adjust for increased line-height */ } .dashboard.feeds .filter.menu .item .text.truncate, From bfd83cd214828808352d05e583fe4fcb03288457 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 29 Jun 2023 23:44:14 +0200 Subject: [PATCH 3/3] Update web_src/css/dashboard.css --- web_src/css/dashboard.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/dashboard.css b/web_src/css/dashboard.css index 32878091eac4..e444b03db4d1 100644 --- a/web_src/css/dashboard.css +++ b/web_src/css/dashboard.css @@ -21,7 +21,7 @@ display: flex; align-items: center; justify-content: space-between; - line-height: 1.3; /* avoid cut-off letters because of too little line-height from fomantic */ + line-height: 1.3; /* avoid cut-off letters because fomantic line-height and overflow hidden via ellipsis */ padding-top: 8.9px; /* adjust for increased line-height */ padding-bottom: 8.9px; /* adjust for increased line-height */ }