From 333f384bc87ebe17ae33d0f70deed6e152933a9d Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Mon, 13 Jan 2025 08:27:42 +0000 Subject: 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 Reviewed-by: Otto Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org> --- web_src/css/repo/issue-list.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3