File tree Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -308,10 +308,11 @@ export class GttClient {
308
308
this . setView ( )
309
309
this . setGeocoding ( this . map )
310
310
this . setGeolocation ( this . map )
311
- this . toolbar . addControl ( new FullScreen ( ) )
312
- this . toolbar . addControl ( new Rotate ( ) )
313
311
this . parseHistory ( )
314
312
313
+ this . map . addControl ( new FullScreen ( ) )
314
+ this . map . addControl ( new Rotate ( ) )
315
+
315
316
// Control button
316
317
const maximizeCtrl = new Button ( {
317
318
html : '<i class="material-icons" >zoom_out_map</i>' ,
Original file line number Diff line number Diff line change 3
3
*/
4
4
.ol-map {
5
5
width : 100% ;
6
- height : 420 px ;
6
+ height : 400 px ;
7
7
border : 1px solid #E4E4E4 ;
8
8
}
9
9
#issue-form .ol-map {
10
10
width : 100% ;
11
11
margin-bottom : 1em ;
12
12
}
13
13
14
+ $breakpoint-tablet : 899px ;
15
+ @media (max-width : $breakpoint-tablet ) {
16
+ .ol-map {
17
+ height : 340px ;
18
+ }
19
+ }
20
+
14
21
.ol-control button {
15
22
background-color : rgba (52 , 73 , 94 , 0.8 );
23
+ height : 32px ;
24
+ width : 32px ;
16
25
}
17
26
.ol-control button :hover {
18
27
background-color : rgba (52 , 73 , 94 , 1 );
24
33
.ol-full-screen button .ol-full-screen-false ,
25
34
.ol-rotate button .ol-rotate-reset ,
26
35
.ol-bar .ol-button button {
27
- height : 32px ;
28
- width : 32px ;
29
36
font-size : 1.6em ;
30
37
}
31
38
39
+ div .ol-full-screen {
40
+ right : 3.0em ;
41
+ }
42
+
43
+ div .ol-rotate {
44
+ right : 5.5em ;
45
+ }
46
+
47
+ div .ol-full-screen {
48
+ right : 3.0em ;
49
+ }
50
+
32
51
.ol-control.ol-bar.ol-top.ol-left , .ol-control.ol-bar.ol-top.ol-right {
33
52
top : 5.2em ;
34
53
}
You can’t perform that action at this time.
0 commit comments