File tree 2 files changed +11
-12
lines changed
components/map/components/legend
2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 3
3
4
4
.c-legend {
5
5
font-family : $font-family-1 ;
6
+ width : 100% ;
6
7
7
8
> div {
8
9
border : 0 ;
Original file line number Diff line number Diff line change 5
5
box-shadow : 0 1px 3px 0 rgba (0 , 0 , 0 , 0.25 );
6
6
background : $white ;
7
7
transition : transform 0.3s linear ;
8
- z-index : 2 ;
9
- overflow-y : scroll ;
10
- max-height : 80% ;
11
- height : auto ;
8
+ position : relative ;
12
9
13
10
& .-relocate {
14
11
transform : translateX (292px );
19
16
}
20
17
21
18
.nav {
22
- box-shadow : 0 2px 5px 0 rgba (0 , 0 , 0 , 0.16 );
23
- }
24
-
25
- .legend {
19
+ border-bottom : solid 1px $border ;
26
20
position : relative ;
21
+ z-index : 2 ;
22
+ height : auto ;
27
23
}
28
24
25
+ .legend ,
29
26
.analysis {
30
27
position : relative ;
31
- width : 100% ;
32
- max-height : 70vh ;
33
- overflow : auto ;
34
- background : $white ;
28
+ overflow-y : scroll ;
29
+ display : flex ;
30
+ flex : 1 ;
31
+ max-height : calc (100vh - 200px );
32
+ z-index : 1 ;
35
33
}
36
34
}
You can’t perform that action at this time.
0 commit comments