1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

PM-28180 responsively hide deletion date column in sends table (#17652)

* PM-28180 responsively hide options in sends table

* PM-28180 resolved pr comments

* PM-28180 revert named container change

* PM-28180 resolved pr comment re naming container

* PM-28180 resolved double class issue
This commit is contained in:
bmbitwarden
2025-12-10 20:03:40 -05:00
committed by GitHub
parent fe4895d97e
commit f5cdee3fa6

View File

@@ -80,13 +80,15 @@
</div> </div>
</div> </div>
</div> </div>
<div class="tw-col-span-9"> <div class="tw-col-span-9 tw-@container/send-table">
<!--Listing Table--> <!--Listing Table-->
<bit-table [dataSource]="dataSource" *ngIf="filteredSends && filteredSends.length"> <bit-table [dataSource]="dataSource" *ngIf="filteredSends && filteredSends.length">
<ng-container header> <ng-container header>
<tr> <tr>
<th bitCell bitSortable="name" default>{{ "name" | i18n }}</th> <th bitCell bitSortable="name" default>{{ "name" | i18n }}</th>
<th bitCell bitSortable="deletionDate">{{ "deletionDate" | i18n }}</th> <th bitCell bitSortable="deletionDate" class="@lg/send-table:tw-table-cell tw-hidden">
{{ "deletionDate" | i18n }}
</th>
<th bitCell>{{ "options" | i18n }}</th> <th bitCell>{{ "options" | i18n }}</th>
</tr> </tr>
</ng-container> </ng-container>
@@ -148,8 +150,14 @@
</ng-container> </ng-container>
</div> </div>
</td> </td>
<td bitCell class="tw-text-muted" (click)="editSend(s)" class="tw-cursor-pointer"> <td
<small bitTypography="body2" appStopProp>{{ s.deletionDate | date: "medium" }}</small> bitCell
(click)="editSend(s)"
class="tw-text-muted tw-cursor-pointer @lg/send-table:tw-table-cell tw-hidden"
>
<small bitTypography="body2" appStopProp>
{{ s.deletionDate | date: "medium" }}
</small>
</td> </td>
<td bitCell class="tw-w-0 tw-text-right"> <td bitCell class="tw-w-0 tw-text-right">
<button <button