mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[CL-24] Add tables (#2950)
This commit is contained in:
17
libs/components/src/table/row.directive.ts
Normal file
17
libs/components/src/table/row.directive.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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",
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user