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 table header text-align (#30084)

Fix regression from https://github.com/go-gitea/gitea/pull/30047.
Apparently tables have certain user-agent styles that center inside
`<th>` etc. Restored the original fomantic rules for these.

Before:
<img width="1332" alt="Screenshot 2024-03-25 at 21 59 33"
src="https://github.com/go-gitea/gitea/assets/115237/e06a5509-b505-4752-9b6e-91d5ed49f61d">

After:
<img width="1330" alt="Screenshot 2024-03-25 at 21 59 40"
src="https://github.com/go-gitea/gitea/assets/115237/6444817f-dd61-4a1e-a8b3-959c2780148d">

(cherry picked from commit dd75237c3492140140c7413d788bd961692048d8)

authored by

silverwind and committed by
Earl Warren
11765a82 eb696438

+4
+4
web_src/css/modules/table.css
··· 23 23 } 24 24 .ui.table > thead, 25 25 .ui.table > tbody { 26 + text-align: inherit; 26 27 vertical-align: inherit; 27 28 } 28 29 29 30 .ui.table > thead > tr > th { 30 31 background: var(--color-box-header); 32 + text-align: inherit; 31 33 color: var(--color-text); 32 34 padding: 6px 5px; 33 35 vertical-align: inherit; ··· 52 54 .ui.table > tfoot > tr > td { 53 55 border-top: 1px solid var(--color-secondary); 54 56 background: var(--color-box-body); 57 + text-align: inherit; 55 58 color: var(--color-text); 56 59 padding: 0.78571429em; 57 60 vertical-align: inherit; ··· 78 81 .ui.table > tbody > tr > td { 79 82 border-top: 1px solid var(--color-secondary-alpha-50); 80 83 padding: 6px 5px; 84 + text-align: inherit; 81 85 } 82 86 .ui.table > tr:first-child > td, 83 87 .ui.table > tbody > tr:first-child > td {