mirror of https://github.com/ghostfolio/ghostfolio
16 changed files with 51 additions and 32 deletions
@ -0,0 +1 @@ |
|||
export * from './page-fab.component'; |
|||
@ -0,0 +1 @@ |
|||
<ng-content /> |
|||
@ -0,0 +1,14 @@ |
|||
:host { |
|||
bottom: calc(constant(safe-area-inset-bottom) + 2rem); |
|||
bottom: calc(env(safe-area-inset-bottom) + 2rem); |
|||
position: fixed; |
|||
right: 2rem; |
|||
z-index: 999; |
|||
} |
|||
|
|||
:host-context(gf-page-tabs) { |
|||
@media (max-width: 575.98px) { |
|||
bottom: calc(constant(safe-area-inset-bottom) + 5rem); |
|||
bottom: calc(env(safe-area-inset-bottom) + 5rem); |
|||
} |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
import { ChangeDetectionStrategy, Component } from '@angular/core'; |
|||
|
|||
@Component({ |
|||
changeDetection: ChangeDetectionStrategy.OnPush, |
|||
selector: 'gf-page-fab', |
|||
styleUrls: ['./page-fab.component.scss'], |
|||
templateUrl: './page-fab.component.html' |
|||
}) |
|||
export class GfPageFabComponent {} |
|||
Loading…
Reference in new issue