@@ -1538,13 +1538,21 @@ type Orientation
1538classifyDevice : { window | height : Int, width : Int } -> Device
1538classifyDevice : { window | height : Int, width : Int } -> Device
1539classifyDevice window =
1539classifyDevice window =
1540 { class =
1540 { class =
1541− if window.width <= 600 then
1543+ if window.width < window.height then
1549+ if shortSide <= 600 then
1544− else if window.width > 600 && window.width <= 1200 then
1552+ else if shortSide > 600 && shortSide <= 1200 then
1547− else if window.width > 1200 && window.width <= 1800 then
1555+ else if shortSide > 1200 && shortSide <= 1800 then