mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
3 changed files with 27 additions and 8 deletions
@ -1,14 +1,32 @@ |
|||||
:host { |
:host { |
||||
|
display: block; |
||||
|
|
||||
|
// Reserve space so a floating action button does not overlap trailing content |
||||
|
height: calc(constant(safe-area-inset-bottom) + 7rem); |
||||
|
height: calc(env(safe-area-inset-bottom) + 7rem); |
||||
|
|
||||
|
@media (min-width: 576px) { |
||||
|
height: calc(constant(safe-area-inset-bottom) + 5rem); |
||||
|
height: calc(env(safe-area-inset-bottom) + 5rem); |
||||
|
} |
||||
|
|
||||
|
.mat-mdc-fab { |
||||
bottom: calc(constant(safe-area-inset-bottom) + 2rem); |
bottom: calc(constant(safe-area-inset-bottom) + 2rem); |
||||
bottom: calc(env(safe-area-inset-bottom) + 2rem); |
bottom: calc(env(safe-area-inset-bottom) + 2rem); |
||||
position: fixed; |
position: fixed; |
||||
right: 2rem; |
right: 2rem; |
||||
z-index: 999; |
z-index: 999; |
||||
|
} |
||||
} |
} |
||||
|
|
||||
:host-context(gf-page-tabs) { |
:host-context(gf-page-tabs) { |
||||
@media (max-width: 575.98px) { |
@media (max-width: 575.98px) { |
||||
|
height: calc(constant(safe-area-inset-bottom) + 6rem); |
||||
|
height: calc(env(safe-area-inset-bottom) + 6rem); |
||||
|
|
||||
|
.mat-mdc-fab { |
||||
bottom: calc(constant(safe-area-inset-bottom) + 5rem); |
bottom: calc(constant(safe-area-inset-bottom) + 5rem); |
||||
bottom: calc(env(safe-area-inset-bottom) + 5rem); |
bottom: calc(env(safe-area-inset-bottom) + 5rem); |
||||
} |
} |
||||
|
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue