diff options
author | 0ko <0ko@noreply.codeberg.org> | 2025-01-13 09:27:42 +0100 |
---|---|---|
committer | Otto <otto@codeberg.org> | 2025-01-13 09:27:42 +0100 |
commit | 333f384bc87ebe17ae33d0f70deed6e152933a9d (patch) | |
tree | d60e81d2379684e81d091939517cdff59215215a | |
parent | Update module code.gitea.io/sdk/gitea to v0.20.0 (forgejo) (#6528) (diff) | |
download | forgejo-333f384bc87ebe17ae33d0f70deed6e152933a9d.tar.xz forgejo-333f384bc87ebe17ae33d0f70deed6e152933a9d.zip |
Fix minor misalignment (#6541)
[skip ci] no relevant tests
It's been there for a while. `flex-start` causes all items to stick to one side and be misaligned if they have different heights.
`align-items` isn't actually needed in this area when the goal is centered vertical alignment, however, unsetting it _could_ break items' height. I couldn't make it do that, but to be safe I kept it and only replaced the value.
## Preview
|![](/attachments/5ccf3c2d-c468-4524-84b4-efa3b3d5a60a)|
|-|
|![](/attachments/5ad079e9-5e22-4118-b1cd-492ad51f0371)|
There's no difference when they're broken into two rows, on mobile.
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6541
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
-rw-r--r-- | web_src/css/repo/issue-list.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/repo/issue-list.css b/web_src/css/repo/issue-list.css index 9143b01384..07ae5a5683 100644 --- a/web_src/css/repo/issue-list.css +++ b/web_src/css/repo/issue-list.css @@ -2,7 +2,7 @@ display: flex; flex-wrap: wrap-reverse; justify-content: space-between; - align-items: flex-start; + align-items: center; gap: 1rem; margin-top: 1rem; } |