Styles: Fixed breakpoint overlap

Alters common breakpoint utilities to not overlap at breakpoints which
would cause broken layout at those points.
For #5396
This commit is contained in:
Dan Brown
2025-02-23 11:19:11 +00:00
parent 35b45a2b8d
commit 5c78f8352e
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ export class TriLayout extends Component {
updateLayout() {
let newLayout = 'tablet';
if (window.innerWidth <= 1000) newLayout = 'mobile';
if (window.innerWidth >= 1400) newLayout = 'desktop';
if (window.innerWidth > 1400) newLayout = 'desktop';
if (newLayout === this.lastLayoutType) return;
if (this.onDestroy) {