Skip to content

Commit 017135a

Browse files
committed
fix(@angular-ru/flex-layout): support string type for flex-bottom-indent
1 parent 9bea70e commit 017135a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/flex-layout/src/directives/flex-bottom-indent.directive.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { AbstractFlexLayoutDirective } from './abstract-flex-layout.directive';
44

55
@Directive({ selector: '[flex-bottom-indent]' })
66
export class FlexBottomIndentDirective extends AbstractFlexLayoutDirective implements AfterViewInit {
7-
@Input('flex-bottom-indent') @HostBinding('style.margin-bottom.px') public bottomIndent: number | null = null;
7+
@Input('flex-bottom-indent')
8+
@HostBinding('style.margin-bottom.px')
9+
public bottomIndent: string | number | null = null;
810

911
constructor(protected readonly el: ElementRef) {
1012
super();

0 commit comments

Comments
 (0)