From 6d45dea34524f2398a426311a84782c052b5acd3 Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Wed, 8 Sep 2021 13:46:02 +0800 Subject: [PATCH 01/28] * fix padding of project name in table list. --- module/project/view/browsebylist.html.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module/project/view/browsebylist.html.php b/module/project/view/browsebylist.html.php index 461051618b..89893e35e9 100644 --- a/module/project/view/browsebylist.html.php +++ b/module/project/view/browsebylist.html.php @@ -17,9 +17,11 @@ #projectTableList .project-name {position: relative; display: flex; align-items: center;} #projectTableList .project-name > span, #projectTableList .project-name > span {flex: none;} -#projectTableList .project-name > a {color: #0c60e1; display: inline-block; max-width: calc(100% - 50px); padding: 0 5px;} +#projectTableList .project-name > a {color: #0c60e1; display: inline-block; max-width: calc(100% - 50px);} #projectTableList .project-name.has-prefix > a, -#projectTableList .project-name.has-surfix > a {max-width: calc(100% - 100px);} +#projectTableList .project-name.has-suffix > a {max-width: calc(100% - 100px);} +#projectTableList .project-name.has-prefix > a {padding-left: 5px;} +#projectTableList .project-name.has-suffix > a {padding-right: 5px;}