Open scastrec opened 5 years ago
Hi,
I'm trying to customise but nothing worked.
/deep/.fab-toggle { height: 56px; width: 56px; line-height: 68px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); }
:host ::ng-deep ngx-float-button { .fab-toggle { height: 56px; width: 56px; line-height: 68px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); } /deep/.fab-menu { .fab-toggle { height: 56px; width: 56px; line-height: 68px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); } } /deep/.fab-toggle { height: 56px; width: 56px; line-height: 68px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); } }
Have you though about using encapsualtion: EncapsulationView.None
encapsualtion: EncapsulationView.None
Or, do you have another way to make it works?
Comigo funcionou assim: :host {::ng-deep { ngx-float-button {}}
:host {::ng-deep { ngx-float-button {}}
Hi,
I'm trying to customise but nothing worked.
/deep/.fab-toggle { height: 56px; width: 56px; line-height: 68px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); }
:host ::ng-deep ngx-float-button { .fab-toggle { height: 56px; width: 56px; line-height: 68px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); } /deep/.fab-menu { .fab-toggle { height: 56px; width: 56px; line-height: 68px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); } } /deep/.fab-toggle { height: 56px; width: 56px; line-height: 68px; box-shadow: 0 0 4px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.28); } }
Have you though about using
encapsualtion: EncapsulationView.None
Or, do you have another way to make it works?