loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix border-radius of header+segment boxes (#30667)

This is a very old bug with the bottom border-radiuses not being there
and the `:has` selector now makes it possible to cleanly solve it. It
affects all header+segment boxes, which there are many throughout the
UI:

<img width="1017" alt="Screenshot 2024-04-23 at 20 47 21"
src="https://github.com/go-gitea/gitea/assets/115237/870fe352-cc38-4bd6-bfe6-9fe8c3066f92">

(cherry picked from commit 3f19a6334575e1d2849999e8339f1b515cefaf1a)

authored by

silverwind and committed by
Earl Warren
bce70cc0 931ca183

+5
+5
web_src/css/modules/segment.css
··· 153 153 border-top: none; 154 154 } 155 155 156 + .ui.attached.segment:has(+ .ui[class*="top attached"].header), 157 + .ui.attached.segment:last-child { 158 + border-radius: 0 0 0.28571429rem 0.28571429rem; 159 + } 160 + 156 161 .ui[class*="top attached"].segment { 157 162 bottom: 0; 158 163 margin-bottom: 0;