mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
* [PM-20080] Add spacing to new cipher/send buttons, unify sizing * [PM-20080] Use logical css properties and increase spacing
18 lines
732 B
HTML
18 lines
732 B
HTML
<button bitButton [bitMenuTriggerFor]="itemOptions" [buttonType]="buttonType" type="button">
|
|
<i *ngIf="!hideIcon" class="bwi bwi-plus tw-me-2" aria-hidden="true"></i>
|
|
{{ (hideIcon ? "createSend" : "new") | i18n }}
|
|
</button>
|
|
<bit-menu #itemOptions>
|
|
<a bitMenuItem [routerLink]="buildRouterLink()" [queryParams]="buildQueryParams(sendType.Text)">
|
|
<i class="bwi bwi-file-text" slot="start" aria-hidden="true"></i>
|
|
{{ "sendTypeText" | i18n }}
|
|
</a>
|
|
<a bitMenuItem (click)="sendFileClick()">
|
|
<div class="tw-flex tw-items-center tw-gap-2">
|
|
<i class="bwi bwi-file" slot="start" aria-hidden="true"></i>
|
|
{{ "sendTypeFile" | i18n }}
|
|
<app-premium-badge></app-premium-badge>
|
|
</div>
|
|
</a>
|
|
</bit-menu>
|