mirror of
https://github.com/bitwarden/browser.git
synced 2024-06-30 11:15:36 +02:00
18 lines
357 B
TypeScript
18 lines
357 B
TypeScript
|
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",
|
||
|
];
|
||
|
}
|
||
|
}
|