Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit dd772d7

Browse files
fix(orientation): use tablet landscape screen type (#1220)
Co-authored-by: Yannick Galatol <yannick.galatol@hotmail.fr>
1 parent 61ecf46 commit dd772d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/core/breakpoints/data/orientation-break-points.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const ScreenTypes = {
2727
'TABLET_PORTRAIT' : `${TABLET_PORTRAIT} `,
2828
'WEB_PORTRAIT' : `${WEB_PORTRAIT}`,
2929

30-
'HANDSET_LANDSCAPE' : `${HANDSET_LANDSCAPE}]`,
30+
'HANDSET_LANDSCAPE' : `${HANDSET_LANDSCAPE}`,
3131
'TABLET_LANDSCAPE' : `${TABLET_LANDSCAPE}`,
3232
'WEB_LANDSCAPE' : `${WEB_LANDSCAPE}`
3333
};
@@ -41,7 +41,7 @@ export const ORIENTATION_BREAKPOINTS : BreakPoint[] = [
4141
{'alias': 'handset.portrait', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET_PORTRAIT},
4242

4343
{'alias': 'tablet', priority: 2100, 'mediaQuery': ScreenTypes.TABLET},
44-
{'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET},
44+
{'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_LANDSCAPE},
4545
{'alias': 'tablet.portrait', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_PORTRAIT},
4646

4747
{'alias': 'web', priority: 2200, 'mediaQuery': ScreenTypes.WEB, overlapping : true },

0 commit comments

Comments
 (0)