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

fix(orientation): use tablet landscape screen type #1220

Merged
merged 2 commits into from
Mar 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/core/breakpoints/data/orientation-break-points.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const ScreenTypes = {
'TABLET_PORTRAIT' : `${TABLET_PORTRAIT} `,
'WEB_PORTRAIT' : `${WEB_PORTRAIT}`,

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

{'alias': 'tablet', priority: 2100, 'mediaQuery': ScreenTypes.TABLET},
{'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET},
{'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_LANDSCAPE},
{'alias': 'tablet.portrait', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_PORTRAIT},

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