This repository was archived by the owner on Nov 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
projects/core/src/lib/app-bar Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 9
9
--fiv-radius : 72px ;
10
10
--fiv-appbar-fab-size : 56px ;
11
11
--fiv-appbar-height : 56px ;
12
- height : calc (
13
- var (--fiv-appbar-height ) + env (safe-area-inset-bottom ) +
14
- var (--fiv-appbar-fab-size ) / 2
15
- );
16
12
width : 100% ;
17
13
--fiv-border-radius : 6px ;
18
14
--fiv-color-appbar : var (--ion-color-light );
24
20
width : var (--fiv-radius );
25
21
left : calc (50% - (var (--fiv-radius ) / 2 ));
26
22
position : absolute ;
27
- top : calc (var (--fiv-appbar-fab-size ) / 2 + var (--fiv-border-radius ));
23
+ bottom : calc (
24
+ env (safe-area-inset-bottom ) + var (--fiv-appbar-height ) - var (--fiv-radius ) /
25
+ 2 - var (--fiv-border-radius )
26
+ );
28
27
polygon {
29
28
fill : var (--fiv-color-appbar );
30
29
}
35
34
position : absolute ;
36
35
bottom : 0 ;
37
36
left : 0 ;
38
- height : 100 % ;
37
+ height : calc ( var ( --fiv-appbar-height ) + env ( safe-area-inset-bottom )) ;
39
38
background : rgba (0 , 0 , 0 , 0 );
40
39
z-index : 5000 ;
41
40
.appbar-rect {
59
58
::ng- deep fiv- fab {
60
59
position : absolute ;
61
60
left : calc (50% - 0.5 * var (--fiv-fab-size ));
62
- top : var (--fiv-border-radius );
61
+ top : calc ( -0.5 * var (--fiv-appbar-fab-size ) + var ( --fiv- border-radius) );
63
62
display : block ;
64
63
--fiv-fab-size : var (--fiv-appbar-fab-size );
65
64
z-index : 14 ;
You can’t perform that action at this time.
0 commit comments