mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
[CL-24] Add tables (#2950)
This commit is contained in:
10
libs/components/src/table/cell.directive.ts
Normal file
10
libs/components/src/table/cell.directive.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { HostBinding, Directive } from "@angular/core";
|
||||
|
||||
@Directive({
|
||||
selector: "th[bitCell], td[bitCell]",
|
||||
})
|
||||
export class CellDirective {
|
||||
@HostBinding("class") get classList() {
|
||||
return ["tw-p-3"];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user