1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-27 23:03:45 +00:00

fixed owner column responsiveness (set to table width instead of screen)

This commit is contained in:
Leslie Xiong
2026-01-26 17:11:57 -05:00
parent 7629aa5c1f
commit 3497fd71de
3 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@
</div>
</td>
@if (showOwner()) {
<td bitCell [ngClass]="RowHeightClass" class="tw-hidden lg:tw-table-cell">
<td bitCell [ngClass]="RowHeightClass" class="tw-hidden @sm:tw-table-cell">
<app-org-badge
[disabled]="disabled()"
[organizationId]="cipher().organizationId"

View File

@@ -25,7 +25,7 @@
</div>
</td>
@if (showOwner()) {
<td bitCell [ngClass]="RowHeightClass" class="tw-hidden lg:tw-table-cell">
<td bitCell [ngClass]="RowHeightClass" class="tw-hidden @sm:tw-table-cell">
<app-org-badge
[disabled]="disabled()"
[organizationId]="collection().organizationId"

View File

@@ -20,7 +20,7 @@
>
</bit-search>
</div>
<bit-table [dataSource]="dataSource" layout="fixed">
<bit-table [dataSource]="dataSource" layout="fixed" class="tw-@container">
<ng-container header>
<tr>
<!-- Individual or Organization vault -->
@@ -37,12 +37,12 @@
bitCell
bitSortable="owner"
[fn]="sortByOwner"
class="tw-hidden tw-w-1/6 lg:tw-table-cell"
class="tw-hidden tw-w-1/6 @sm:tw-table-cell"
>
{{ "owner" | i18n }}
</th>
}
<th bitCell class="tw-w-2/6 lg:tw-table-cell tw-text-right tw-font-medium">
<th bitCell class="tw-w-2/6 tw-text-right tw-font-medium">
{{ "options" | i18n }}
</th>
</tr>