aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/global.scss
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-10-29 21:35:36 +0100
committerVincent Petry <vincent@nextcloud.com>2020-10-29 21:35:36 +0100
commit14768179755ce705b3392381af6c7dcac5433afe (patch)
tree03ecc96b51d0c3ca738677462839f28e04e65a14 /core/css/global.scss
parentecdfe961f87bd8c490eb0ebc658584b84e0283a1 (diff)
downloadnextcloud-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/global.scss')
-rw-r--r--core/css/global.scss6
1 files changed, 3 insertions, 3 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
+}