Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(autocomplete): prevents scrollbar from displaying unnecessarily
Browse files Browse the repository at this point in the history
Closes #4308
  • Loading branch information
Robert Messerle committed Oct 5, 2015
1 parent b8eabd3 commit 9dd2e35
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/virtualRepeat/virtual-repeater.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $virtual-repeat-scrollbar-width: 16px;
.md-virtual-repeat-sizer {
box-sizing: border-box;
height: 1px;
display: inline-block;
display: block;
margin: 0;
padding: 0;
width: 1px;
Expand All @@ -35,9 +35,7 @@ $virtual-repeat-scrollbar-width: 16px;
margin: 0;
padding: 0;
position: absolute;
// Leave room for the scroll bar.
// TODO: Will probably need to perform measurements at runtime.
right: $virtual-repeat-scrollbar-width;
right: 0;
top: 0;
}
}
Expand Down

0 comments on commit 9dd2e35

Please sign in to comment.