mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
[PM-12557] - center align custom field buttons (#13670)
* center align custom field buttons * add margin
This commit is contained in:
@@ -87,7 +87,7 @@
|
|||||||
(click)="openAddEditCustomFieldDialog({ index: i, label: field.value.name })"
|
(click)="openAddEditCustomFieldDialog({ index: i, label: field.value.name })"
|
||||||
[appA11yTitle]="'editFieldLabel' | i18n: field.value.name"
|
[appA11yTitle]="'editFieldLabel' | i18n: field.value.name"
|
||||||
bitIconButton="bwi-pencil-square"
|
bitIconButton="bwi-pencil-square"
|
||||||
class="tw-self-end"
|
class="tw-self-center tw-mt-2"
|
||||||
data-testid="edit-custom-field-button"
|
data-testid="edit-custom-field-button"
|
||||||
*ngIf="!isPartialEdit"
|
*ngIf="!isPartialEdit"
|
||||||
></button>
|
></button>
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
bitIconButton="bwi-hamburger"
|
bitIconButton="bwi-hamburger"
|
||||||
class="tw-self-end"
|
class="tw-self-center tw-mt-2"
|
||||||
cdkDragHandle
|
cdkDragHandle
|
||||||
[appA11yTitle]="'reorderToggleButton' | i18n: field.value.name"
|
[appA11yTitle]="'reorderToggleButton' | i18n: field.value.name"
|
||||||
(keydown)="handleKeyDown($event, field.value.name, i)"
|
(keydown)="handleKeyDown($event, field.value.name, i)"
|
||||||
|
|||||||
Reference in New Issue
Block a user