From f0d31fcbf440312887eab9d3cb017df915fefe5e Mon Sep 17 00:00:00 2001 From: e-halinen <54105602+e-halinen@users.noreply.github.com> Date: Fri, 17 May 2024 09:38:08 +0300 Subject: [PATCH] AB#37216: Fix horizontal overflow error on large terminal route lists (#413) --- src/components/stopPoster/stopPoster.css | 4 ++-- src/components/stopPoster/stopPoster.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/stopPoster/stopPoster.css b/src/components/stopPoster/stopPoster.css index d68947aa..a5c9284b 100644 --- a/src/components/stopPoster/stopPoster.css +++ b/src/components/stopPoster/stopPoster.css @@ -34,12 +34,12 @@ .left { composes: column; - width: 689px; + width: 639px; } .leftStretched { composes: column; - width: 820px; + width: 780px; } .right { diff --git a/src/components/stopPoster/stopPoster.js b/src/components/stopPoster/stopPoster.js index 7255de42..0229d247 100644 --- a/src/components/stopPoster/stopPoster.js +++ b/src/components/stopPoster/stopPoster.js @@ -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; }