mirror of
https://github.com/bitwarden/browser
synced 2026-02-13 06:54:07 +00:00
[CL-382] Reduce element shifting on readonly hover (#10956)
This commit is contained in:
@@ -83,11 +83,12 @@
|
||||
<ng-container *ngTemplateOutlet="labelContent"></ng-container>
|
||||
</label>
|
||||
<div
|
||||
class="tw-gap-1 tw-flex tw-min-h-[1.85rem] tw-pb-0.5 tw-border-0 tw-border-solid"
|
||||
class="tw-gap-1 tw-flex tw-min-h-[1.85rem] tw-pb-[2px] tw-border-0 tw-border-solid"
|
||||
[ngClass]="{
|
||||
'tw-border-secondary-300/50 tw-border-b':
|
||||
'tw-border-secondary-300/50 tw-border-b tw-pb-[3px]':
|
||||
!disableReadOnlyBorder && !defaultContentIsFocused(),
|
||||
'tw-border-b-2 tw-border-transparent': disableReadOnlyBorder && !defaultContentIsFocused(),
|
||||
'tw-border-b-2 tw-border-transparent tw-pb-[4px]':
|
||||
disableReadOnlyBorder && !defaultContentIsFocused(),
|
||||
'tw-border-b-2 tw-border-primary-500': defaultContentIsFocused(),
|
||||
}"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user