diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-06-14 14:16:25 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-06-14 14:16:25 +0200 |
commit | 42a84ea454ce3012e7d3c32fe1a9cf4305c3a9b2 (patch) | |
tree | 1f2b2c484ed21ed1d4ef44ce444511c1942dbc15 /apps/files/css/mobile.scss | |
parent | f349d5a225cf8c3faa8b36f9b4f7c96cc36a42b1 (diff) | |
download | nextcloud-server-42a84ea454ce3012e7d3c32fe1a9cf4305c3a9b2.tar.gz nextcloud-server-42a84ea454ce3012e7d3c32fe1a9cf4305c3a9b2.zip |
Sharing in list: Use .hidden-visually instead of display:none for accessibility, fix #11661
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files/css/mobile.scss')
-rw-r--r-- | apps/files/css/mobile.scss | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/files/css/mobile.scss b/apps/files/css/mobile.scss index 879e8a2bb31..111909bf957 100644 --- a/apps/files/css/mobile.scss +++ b/apps/files/css/mobile.scss @@ -37,8 +37,14 @@ table.multiselect thead { margin-right: 6px; } /* hide text of the share action on mobile */ -#fileList a.action-share span:not(.icon) { - display: none !important; +/* .hidden-visually for accessbility */ +#fileList a.action-share span:not(.icon):not(.avatar) { + position: absolute; + left:-10000px; + top: auto; + width: 1px; + height: 1px; + overflow: hidden; } |