Skip to content

Commit

Permalink
AB#37216: Fix horizontal overflow error on large terminal route lists (
Browse files Browse the repository at this point in the history
  • Loading branch information
e-halinen authored May 17, 2024
1 parent 3333d21 commit f0d31fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/stopPoster/stopPoster.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@

.left {
composes: column;
width: 689px;
width: 639px;
}

.leftStretched {
composes: column;
width: 820px;
width: 780px;
}

.right {
Expand Down
2 changes: 0 additions & 2 deletions src/components/stopPoster/stopPoster.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,10 @@ class StopPoster extends Component {
if (!this.content) {
return false;
}
/*
// Horizontal overflow is not automatically resolvable.
if (this.content.scrollWidth > this.content.clientWidth && this.state.hasRoutesOnTop) {
this.onError('Unresolvable horizontal overflow detected.');
}
*/
return this.content.scrollHeight > this.content.clientHeight;
}

Expand Down

0 comments on commit f0d31fc

Please sign in to comment.