@@ -1558,20 +1558,16 @@ classifyDevice : { window | height : Int, width : Int } -> Device
1558classifyDevice window =
1558classifyDevice window =
1559 { class =
1559 { class =
1561− shortSide =
1561+ longSide =
1562− if window.width < window.height then
1566− window.height
1562+ max window.width window.height
1568− if shortSide <= 600 then
1564+ if longSide <= 600 then
1571− else if shortSide > 600 && shortSide <= 1200 then
1567+ else if longSide > 600 && longSide <= 1200 then
1574− else if shortSide > 1200 && shortSide <= 1800 then
1570+ else if longSide > 1200 && longSide <= 1800 then