diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-10-29 21:35:36 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-10-29 21:35:36 +0100 |
commit | 14768179755ce705b3392381af6c7dcac5433afe (patch) | |
tree | 03ecc96b51d0c3ca738677462839f28e04e65a14 /core/css | |
parent | ecdfe961f87bd8c490eb0ebc658584b84e0283a1 (diff) | |
download | nextcloud-server-14768179755ce705b3392381af6c7dcac5433afe.tar.gz nextcloud-server-14768179755ce705b3392381af6c7dcac5433afe.zip |
Properly put hidden-visually off-screen
In some situations the element is still affecting the layout, especially
when a sticky is nearby.
This fix moves it properly off-screen.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/global.scss | 6 | ||||
-rw-r--r-- | core/css/guest.css | 4 | ||||
-rw-r--r-- | core/css/inputs.scss | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/core/css/global.scss b/core/css/global.scss index 9511d4324fa..d2b0526c09c 100644 --- a/core/css/global.scss +++ b/core/css/global.scss @@ -30,8 +30,8 @@ .hidden-visually { position: absolute; - left:-10000px; - top: auto; + left: -10000px; + top: -10000px; width: 1px; height: 1px; overflow: hidden; @@ -47,4 +47,4 @@ .inlineblock { display: inline-block; -}
\ No newline at end of file +} diff --git a/core/css/guest.css b/core/css/guest.css index 64764e17e1c..340d3954c95 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -909,8 +909,8 @@ footer .info .entity-name { label.infield, .hidden-visually { position: absolute; - left:-10000px; - top: auto; + left: -10000px; + top: -10000px; width: 1px; height: 1px; overflow: hidden; diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 87dc6a44806..22ac22fbcc2 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -948,8 +948,8 @@ progress { // Same as .hidden-visually label.infield { position: absolute; - left:-10000px; - top: auto; + left: -10000px; + top: -10000px; width: 1px; height: 1px; overflow: hidden; |