Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <[email protected]>
  • Loading branch information
PVince81 committed Oct 29, 2020
commit 14768179755ce705b3392381af6c7dcac5433afe
6 changes: 3 additions & 3 deletions core/css/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

.hidden-visually {
position: absolute;
left:-10000px;
top: auto;
left: -10000px;
top: -10000px;
width: 1px;
height: 1px;
overflow: hidden;
Expand All @@ -47,4 +47,4 @@

.inlineblock {
display: inline-block;
}
}
4 changes: 2 additions & 2 deletions core/css/guest.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions core/css/inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down