mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 18:53:29 +00:00
The component library currently uses classes to determine fvw target, default content and main content. This replaces them with data attributes which avoids the css class linter from detecting them as invalid classes.
12 lines
302 B
HTML
12 lines
302 B
HTML
<bit-item-action class="tw-flex tw-flex-1 tw-overflow-hidden" data-item-main-content>
|
|
<ng-content></ng-content>
|
|
</bit-item-action>
|
|
|
|
<div
|
|
#endSlot
|
|
class="tw-p-2 tw-flex tw-gap-1 tw-items-center"
|
|
[hidden]="endSlot.childElementCount === 0"
|
|
>
|
|
<ng-content select="[slot=end]"></ng-content>
|
|
</div>
|