aletrn commited on
Commit
64e17cf
·
1 Parent(s): 82cd72b

[style] improve responsiveness of map page

Browse files
Files changed (1) hide show
  1. static/src/leaflet-custom.css +14 -1
static/src/leaflet-custom.css CHANGED
@@ -28,15 +28,28 @@ a.leaflet-control-layers-toggle {
28
  width: 65%;
29
  }
30
  }
 
31
  @media only screen and (max-width: 1370px) and (max-height: 920px) and (orientation: landscape) {
 
 
 
 
 
 
32
  .map-predictions {
33
  width: 95%;
34
  }
35
  }
 
36
  @media only screen and (max-width: 810px) and (max-height: 370px) and (orientation: landscape) {
37
  .map-predictions {
38
  height: 70%;
39
  max-height: 70%;
40
- /*float: right;*/
41
  }
42
  }
 
 
 
 
 
 
 
28
  width: 65%;
29
  }
30
  }
31
+ /* surface pro 7 landscape */
32
  @media only screen and (max-width: 1370px) and (max-height: 920px) and (orientation: landscape) {
33
+ .map-predictions {
34
+ width: 90%;
35
+ }
36
+ }
37
+ /* ipad mini landscape */
38
+ @media only screen and (max-width: 1030px) and (max-height: 770px) and (orientation: landscape) {
39
  .map-predictions {
40
  width: 95%;
41
  }
42
  }
43
+ /* iphone 12 mini landscape */
44
  @media only screen and (max-width: 810px) and (max-height: 370px) and (orientation: landscape) {
45
  .map-predictions {
46
  height: 70%;
47
  max-height: 70%;
 
48
  }
49
  }
50
+ /* surface pro 7 portrait */
51
+ @media only screen and (max-width: 920px) and (max-height: 1370px) and (orientation: portrait) {
52
+ .map-predictions {
53
+ width: 95%;
54
+ }
55
+ }