mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 11:20:12 -04:00
Merge pull request #1721 from alphagov/5px-bug
Fix bug horizontal scrollbar being pushed off page
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
this.maintainHeight = () => {
|
||||
|
||||
let height = Math.min(
|
||||
$(window).height() - this.topOffset + $('html, body').scrollTop() + 5,
|
||||
$(window).height() - this.topOffset + $('html, body').scrollTop(),
|
||||
this.nativeHeight
|
||||
);
|
||||
|
||||
|
||||
@@ -53,4 +53,5 @@
|
||||
|
||||
.shim {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user