detect portrait mode on mobile so it doesnt go into two col layout when keyboard is up, (#178)

This commit is contained in:
Ginger Wong
2020-09-22 17:09:55 -07:00
parent 17ef8eed0d
commit 01f956d043
5 changed files with 28 additions and 13 deletions

View File

@@ -51,3 +51,5 @@ export const MESSAGE_JUMPTOBOTTOM_BUFFER = 260;
// app styling
export const WIDTH_SINGLE_COL = 730;
export const HEIGHT_SHORT_WIDE = 500;
export const ORIENTATION_PORTRAIT = 'portrait';
export const ORIENTATION_LANDSCAPE = 'landscape';