1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 22:44:11 +00:00

remove tw-border-b-2 from being defined twice (#11181)

- it causes a shift when the field is focused on the extension
- In storybook the `tw-border-b-2` is removed from the classname for some reason, and thus the no shift
This commit is contained in:
Nick Krantz
2024-09-20 16:05:32 -05:00
committed by GitHub
parent cdabecb40b
commit fa2659f421

View File

@@ -87,8 +87,7 @@
[ngClass]="{
'tw-border-secondary-300/50 tw-border-b tw-pb-[3px]':
!disableReadOnlyBorder && !defaultContentIsFocused(),
'tw-border-b-2 tw-border-transparent tw-pb-[4px]':
disableReadOnlyBorder && !defaultContentIsFocused(),
'tw-border-transparent tw-pb-[4px]': disableReadOnlyBorder && !defaultContentIsFocused(),
'tw-border-b-2 tw-border-primary-600': defaultContentIsFocused(),
}"
>