diff options
author | silverwind <me@silverwind.io> | 2024-04-27 15:35:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 13:35:26 +0000 |
commit | b93c87b6fe025408777d9f2091d29941e439e58c (patch) | |
tree | 5523afd2173f88655ad3ff5413b14fa2263a8c66 /web_src/css/repo | |
parent | 51c28d96838a743d2ba4fd679d92e8e15b536a19 (diff) | |
download | gitea-b93c87b6fe025408777d9f2091d29941e439e58c.tar.gz gitea-b93c87b6fe025408777d9f2091d29941e439e58c.zip |
Issue card improvements (#30687)
Fixes https://github.com/go-gitea/gitea/issues/30682 and does a few
improvements:
- Use gap instead of margin/padding
- Don't render empty image div
- Remove `right floated` class that did nothing
<img width="406" alt="Screenshot 2024-04-24 at 20 21 20"
src="https://github.com/go-gitea/gitea/assets/115237/2fa88707-c2c4-40df-aee7-a684c3097ed0">
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'web_src/css/repo')
-rw-r--r-- | web_src/css/repo/issue-card.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/repo/issue-card.css b/web_src/css/repo/issue-card.css index b9368df4f6..609b1b3dbd 100644 --- a/web_src/css/repo/issue-card.css +++ b/web_src/css/repo/issue-card.css @@ -1,6 +1,7 @@ .issue-card { display: flex; flex-direction: column; + gap: 4px; align-items: start; border-radius: var(--border-radius); padding: 8px 10px; @@ -17,7 +18,6 @@ .issue-card-title { flex: 1; font-size: 14px; - margin-left: 4px; } .issue-card.sortable-chosen .issue-card-title { |