Skip to content

Commit a4e8721

Browse files
authored
Merge pull request #397 from youda97/tile
fix(tile): Can't set custom class
2 parents c62fd66 + ec6fbf4 commit a4e8721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tiles/tile.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ import {
2323
template: `<ng-content></ng-content>`
2424
})
2525
export class Tile {
26-
@HostBinding("class") tileClass = "bx--tile";
26+
@HostBinding("class.bx--tile") tileClass = true;
2727
}

0 commit comments

Comments
 (0)