summaryrefslogtreecommitdiffstats
path: root/web_src/less/_form.less
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-06-04 05:38:26 +0800
committerGitHub <noreply@github.com>2022-06-03 17:38:26 -0400
commit694441fec5036bf2e5ee6a261b40ada2bfc76d61 (patch)
treecb5fb1ac21618e43e9fe2ead548302e917736e80 /web_src/less/_form.less
parent1d04e8641d4abab6ce978bc2dc5523c2ddb2f628 (diff)
downloadgitea-694441fec5036bf2e5ee6a261b40ada2bfc76d61.tar.gz
gitea-694441fec5036bf2e5ee6a261b40ada2bfc76d61.zip
Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861)
* Remove customized (unmaintained) dropdown, improve aria a11y for dropdown * fix repo permission * use action instead of onChange * re-order the CSS selector * fix dropdown behavior for repo permissions, make elements inside menu item non-focusable * use menu/menuitem instead of combobox/option. use tooltip(data-content) for aria-label, prevent from repeated attaching * click menu item when pressing Enter * code format * fix repo permission * repo setting: prevent from misleading users when error occurs * fine tune the repo collaboration access mode dropdown (in case the access mode is undefined in the template) Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less/_form.less')
-rw-r--r--web_src/less/_form.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/web_src/less/_form.less b/web_src/less/_form.less
index 99aec18f48..eeab07c475 100644
--- a/web_src/less/_form.less
+++ b/web_src/less/_form.less
@@ -170,9 +170,9 @@ textarea:focus,
margin-left: @create-page-form-input-padding;
}
- input,
- textarea {
- width: 50% !important;
+ .inline.field > input,
+ .inline.field > textarea {
+ width: 50%;
}
}