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 right-aligned input icons (#30301)

Fix regression from https://github.com/go-gitea/gitea/pull/30194 where
right-aligned items would not display correctly.

Before and After:

<img width="285" alt="Screenshot 2024-04-06 at 01 12 11"
src="https://github.com/go-gitea/gitea/assets/115237/f9168db5-0f69-4b5d-ba17-b60145ac4a09">
<img width="285" alt="Screenshot 2024-04-06 at 01 11 49"
src="https://github.com/go-gitea/gitea/assets/115237/639ab6ed-d018-4e3a-9980-1f079e4ebe9d">

Frontpage search tweaked to accommodate (which was the reason for the
changes that broken above):

<img width="445" alt="Screenshot 2024-04-06 at 01 11 34"
src="https://github.com/go-gitea/gitea/assets/115237/1919220b-390e-463a-8e3d-33a3556bf111">
<img width="438" alt="Screenshot 2024-04-06 at 01 11 39"
src="https://github.com/go-gitea/gitea/assets/115237/fd94f8e4-1d56-4b04-99e3-1cd240bd7ab4">

(cherry picked from commit 94aad35a120b05897a0b6b97f0d9605a52ea9642)

authored by

silverwind and committed by
Gergely Nagy
8583b7f4 3408bcd2

+8 -3
+8 -3
web_src/css/modules/input.css
··· 48 48 cursor: default; 49 49 position: absolute; 50 50 text-align: center; 51 - top: 50%; 52 - transform: translateY(-50%); 51 + top: 0; 52 + right: 0; 53 + margin: 0; 54 + height: 100%; 55 + width: 2.67142857em; 53 56 opacity: 0.5; 54 57 border-radius: 0 0.28571429rem 0.28571429rem 0; 55 58 pointer-events: none; ··· 58 61 59 62 .ui.icon.input > i.icon.is-loading { 60 63 position: absolute !important; 64 + height: 28px; 65 + top: 4px; 61 66 } 62 67 63 68 .ui.icon.input > i.icon.is-loading > * { ··· 78 83 79 84 .ui[class*="left icon"].input > i.icon { 80 85 right: auto; 81 - left: 8px; 86 + left: 1px; 82 87 border-radius: 0.28571429rem 0 0 0.28571429rem; 83 88 } 84 89 .ui[class*="left icon"].input > i.circular.icon {