Skip to content

Commit 076002b

Browse files
committed
Raise landscape breakpoint minimum width from 450px to 600px in use-is-landscape hook and landscape mixin
1 parent 65ac928 commit 076002b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/editor/src/views/prompt/frontend/hooks/use-is-landscape.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState, useEffect } from 'react'
22

3-
const MIN_WIDTH = 450
3+
const MIN_WIDTH = 600
44

55
export const use_is_landscape = () => {
66
const [is_landscape, set_is_landscape] = useState(

‎packages/ui/src/styles/foundation/_mixins.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212

1313
@mixin landscape {
14-
@media (orientation: landscape) and (min-width: 450px) {
14+
@media (orientation: landscape) and (min-width: 600px) {
1515
@content;
1616
}
1717
}

0 commit comments

Comments
 (0)