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>
This commit is contained in:
parent
ecdfe961f8
commit
1476817975
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
.hidden-visually {
|
.hidden-visually {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left:-10000px;
|
left: -10000px;
|
||||||
top: auto;
|
top: -10000px;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -47,4 +47,4 @@
|
||||||
|
|
||||||
.inlineblock {
|
.inlineblock {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -909,8 +909,8 @@ footer .info .entity-name {
|
||||||
label.infield,
|
label.infield,
|
||||||
.hidden-visually {
|
.hidden-visually {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left:-10000px;
|
left: -10000px;
|
||||||
top: auto;
|
top: -10000px;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -948,8 +948,8 @@ progress {
|
||||||
// Same as .hidden-visually
|
// Same as .hidden-visually
|
||||||
label.infield {
|
label.infield {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left:-10000px;
|
left: -10000px;
|
||||||
top: auto;
|
top: -10000px;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
Loading…
Reference in New Issue