MOBILE-3320 core: Consider medium breakpoint as tablet
parent
2b5a17e5b5
commit
33d8a577af
|
@ -131,7 +131,7 @@ export class CoreScreenService {
|
||||||
* @return Active layout.
|
* @return Active layout.
|
||||||
*/
|
*/
|
||||||
protected calculateLayout(breakpoints: Record<Breakpoint, boolean>): CoreScreenLayout {
|
protected calculateLayout(breakpoints: Record<Breakpoint, boolean>): CoreScreenLayout {
|
||||||
if (breakpoints[Breakpoint.LARGE]) {
|
if (breakpoints[Breakpoint.MEDIUM]) {
|
||||||
return CoreScreenLayout.TABLET;
|
return CoreScreenLayout.TABLET;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue