From 73f2741d7d27521de6ea0538e3c724307ac152bb Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 2 Oct 2026 17:22:01 +0330 Subject: [PATCH] homepage search improvements #511 --- GanjooRazor/wwwroot/css/p8.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/GanjooRazor/wwwroot/css/p8.css b/GanjooRazor/wwwroot/css/p8.css index d08e1141..94be826c 100644 --- a/GanjooRazor/wwwroot/css/p8.css +++ b/GanjooRazor/wwwroot/css/p8.css @@ -410,7 +410,12 @@ select { justify-content: center; width: 100%; text-align: center; - margin: 5px 0 8px 0; + /* 11px top margin, not 5px: matches the poet pill's effective gap. .spacer .poet .caption is a + flex item with margin-top:6px wrapping an with its own margin-top:5px - flex items don't + collapse margins with their children, so those two stack to an 11px gap above the poet's + pill. This caption has no such wrapper, so its own margin-top has to carry the full 11px to + land at the same vertical offset as the poet pill next to it. */ + margin: 11px 0 8px 0; padding: 6px 12px; border-radius: 12px; background-color: var(--card-inner);