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.

Reduce checkbox size to 15px (#30346)

16 seems to big, 14 too small. Let's do 15. Alignment:

<img width="181" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/f2988611-dee2-492e-a18f-dc5ab3a1cd6c">

(cherry picked from commit 72dc75e594fb5227abfa1cb74cb652cc33bacc93)

authored by

silverwind and committed by
Gergely Nagy
b13e969d f544bb25

+2 -2
+1 -1
web_src/css/base.css
··· 24 24 --repo-header-issue-min-height: 41px; 25 25 --min-height-textarea: 132px; /* padding + 6 lines + border = calc(1.57142em + 6lh + 2px), but lh is not fully supported */ 26 26 --tab-size: 4; 27 - --checkbox-size: 16px; /* height and width of checkbox and radio inputs */ 27 + --checkbox-size: 15px; /* height and width of checkbox and radio inputs */ 28 28 --page-spacing: 16px; /* space between page elements */ 29 29 } 30 30
+1 -1
web_src/css/modules/checkbox.css
··· 20 20 .ui.checkbox input[type="checkbox"], 21 21 .ui.checkbox input[type="radio"] { 22 22 position: absolute; 23 - top: 0; 23 + top: 1px; 24 24 left: 0; 25 25 width: var(--checkbox-size); 26 26 height: var(--checkbox-size);