fix(tab): edge prop

fixes #15003
This commit is contained in:
Manu Mtz.-Almeida
2018-08-07 22:30:10 +02:00
parent 948d0839c9
commit 2a4327f850
2 changed files with 11 additions and 9 deletions

View File

@ -34,20 +34,22 @@
:host(.fab-vertical-top) {
top: $fab-content-margin;
&.fab-edge {
top: -$fab-size / 2;
}
}
:host(.fab-vertical-top.fab-edge) {
top: -$fab-size / 2;
}
:host(.fab-vertical-bottom) {
bottom: $fab-content-margin;
&.fab-edge {
bottom: -$fab-size / 2;
}
}
:host(.fab-vertical-bottom.fab-edge) {
bottom: -$fab-size / 2;
}
:host(.fab-vertical-center) {
@include margin(-$fab-size / 2, null, null, null);

View File

@ -66,7 +66,7 @@ export class Fab {
class: {
[`fab-horizontal-${this.horizontal}`]: !!this.horizontal,
[`fab-vertical-${this.vertical}`]: !!this.vertical,
['fab-edge']: this.edge
'fab-edge': this.edge
}
};
}