aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-05-02 19:19:44 +0800
committerGitHub <noreply@github.com>2024-05-02 11:19:44 +0000
commit6ff2acc52c976e9d7bb6a5693f8a2365d12400f5 (patch)
treee30209fc6b0412d5ccdca5ba0e0b55121d38e4f5 /web_src/css
parentebe6f4cad775a82d11c916c9af716beec394768b (diff)
downloadgitea-6ff2acc52c976e9d7bb6a5693f8a2365d12400f5.tar.gz
gitea-6ff2acc52c976e9d7bb6a5693f8a2365d12400f5.zip
Fix issue card layout (#30800)
Fix #30788
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/repo.css8
-rw-r--r--web_src/css/repo/issue-card.css15
2 files changed, 16 insertions, 7 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index cc09ec94e2..a930e130f8 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -2195,18 +2195,12 @@ td .commit-summary {
display: inline-flex;
flex-wrap: wrap;
gap: 2.5px;
-}
-
-.labels-list a {
- display: flex;
- text-decoration: none;
+ align-items: center;
}
.labels-list .label {
padding: 0 6px;
- margin: 0 !important;
min-height: 20px;
- display: inline-flex !important;
line-height: 1.3; /* there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly */
}
diff --git a/web_src/css/repo/issue-card.css b/web_src/css/repo/issue-card.css
index 609b1b3dbd..390bfb6a01 100644
--- a/web_src/css/repo/issue-card.css
+++ b/web_src/css/repo/issue-card.css
@@ -23,3 +23,18 @@
.issue-card.sortable-chosen .issue-card-title {
cursor: inherit;
}
+
+.issue-card-bottom {
+ display: flex;
+ width: 100%;
+ justify-content: space-between;
+ gap: 0.25em;
+}
+
+.issue-card-assignees {
+ display: flex;
+ align-items: center;
+ gap: 0.25em;
+ justify-content: end;
+ flex-wrap: wrap;
+}