Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from JasonTarka-D2L/jtarka/no-line-breaks
Browse files Browse the repository at this point in the history
white-space: nowrap
  • Loading branch information
dlockhart committed Mar 23, 2016
2 parents 9293409 + 9ad60dd commit 3f269df
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions offscreen.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@

@mixin vui-offscreen() {

$offset: -10000px;

position: absolute !important;
left: $offset;
overflow: hidden;

width: 1px;
height: 1px;

font-size: 1px;
line-height: 1px;
text-indent: 2px;
white-space: nowrap;

padding: 0;
margin: 0;
background: none;
border: none;
box-shadow: none;
outline: none !important; // important to override :focus
[dir="rtl"] & {
left: auto;
right: $offset;
}

}

0 comments on commit 3f269df

Please sign in to comment.