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 /apps/files/css/files.scss | |
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 'apps/files/css/files.scss')
-rw-r--r-- | apps/files/css/files.scss | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 99d3bf90f01..33ec23cdad1 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -851,8 +851,12 @@ table.dragshadow td.size { position: relative; } -.breadcrumb .icon-home { - border-radius: var(--border-radius); +.breadcrumb { + align-items: center; + + .icon-home { + border-radius: var(--border-radius); + } } .breadcrumb .canDrop > a, |