1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 07:03:26 +00:00
Files
browser/libs/components/src/table/cell.directive.ts

11 lines
246 B
TypeScript

import { Directive, HostBinding } from "@angular/core";
@Directive({
selector: "th[bitCell], td[bitCell]",
})
export class CellDirective {
@HostBinding("class") get classList() {
return ["tw-p-3", "has-[[biticonbutton]]:tw-py-1"];
}
}