diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-07-18 13:26:19 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-08-26 19:49:00 +0200 |
commit | 68ed1af3c0afd678e6dcb8d49cbfac7ee0e1e5a2 (patch) | |
tree | bb9ee54e5b7056c7a8f04a52bd0a82851d6a29dd /core/css/styles.css | |
parent | 329687ecff245b9b2f462a6fccf45a996297a41f (diff) | |
download | nextcloud-server-68ed1af3c0afd678e6dcb8d49cbfac7ee0e1e5a2.tar.gz nextcloud-server-68ed1af3c0afd678e6dcb8d49cbfac7ee0e1e5a2.zip |
Fix accessibility of input fields
Input fields require a 44x44 pixels target size, this makes all the
input fields and button use that size.
Bonus is that now the input fields and buttons now have the same size as
the new vue button and this looks less weird than the previous state
with controls of different sizes.
See https://www.w3.org/WAI/WCAG21/Understanding/target-size.html
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'core/css/styles.css')
-rw-r--r-- | core/css/styles.css | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index c73588946e9..a83e683c680 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -207,7 +207,7 @@ body { box-sizing: border-box; position: -webkit-sticky; position: sticky; - height: 44px; + height: 54px; padding: 0; margin: 0; background-color: var(--color-main-background-translucent); @@ -234,8 +234,8 @@ body { box-sizing: border-box; display: inline-block; display: flex; - height: 36px; - width: 36px; + height: 44px; + width: 44px; padding: 9px; align-items: center; justify-content: center; |