From d0cb198c8974921b2ed5f8c399dba92718d5fa74 Mon Sep 17 00:00:00 2001 From: alphazeba <33792307+alphazeba@users.noreply.github.com> Date: Sun, 28 Dec 2025 23:51:10 -0800 Subject: [PATCH] fix: prevent 100% width radio buttons (#36262) as part of [Remove fomantic form module](https://github.com/go-gitea/gitea/commit/eddf8759926911c465b249de5f6d68c052a539e0#diff-c34b74004deb63fb4f8a8549ef9d822b9839db0b69ae2c0cdacc05ce3d5d5682) radio buttons get caught in crossfire and recieve `width: 100%` this is particularly noticeable on the `user/settings/applications` page which has many radio buttons. This continues using an opt out `input:not([type="checkbox"], [type="radio"])` to prevent this. Signed-off-by: alphazeba <33792307+alphazeba@users.noreply.github.com> --- web_src/css/modules/form.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/modules/form.css b/web_src/css/modules/form.css index 49e4012306..09d247cf17 100644 --- a/web_src/css/modules/form.css +++ b/web_src/css/modules/form.css @@ -33,7 +33,7 @@ } .ui.form textarea, -.ui.form input { +.ui.form input:not([type="checkbox"], [type="radio"]) { width: 100%; vertical-align: top; }