1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-30 11:15:36 +02:00
bitwarden-browser/libs/components/src/table/row.directive.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
357 B
TypeScript
Raw Normal View History

2022-07-28 12:43:00 +02:00
import { HostBinding, Directive } from "@angular/core";
@Directive({
selector: "tr[bitRow]",
})
export class RowDirective {
@HostBinding("class") get classList() {
return [
"tw-border-0",
"tw-border-b",
"tw-border-secondary-300",
"tw-border-solid",
"hover:tw-bg-background-alt",
"last:tw-border-0",
];
}
}