mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
[CL-923] Try silencing flaky chromatic tests from dialog border (#17497)
This commit is contained in:
@@ -75,13 +75,19 @@
|
|||||||
@let isScrollable = isScrollable$ | async;
|
@let isScrollable = isScrollable$ | async;
|
||||||
@let showFooterBorder =
|
@let showFooterBorder =
|
||||||
(!bodyHasScrolledFrom().top && isScrollable) || bodyHasScrolledFrom().bottom;
|
(!bodyHasScrolledFrom().top && isScrollable) || bodyHasScrolledFrom().bottom;
|
||||||
|
<div
|
||||||
|
class="tw-border-0 tw-border-t tw-border-solid"
|
||||||
|
[ngClass]="{
|
||||||
|
'tw-border-transparent': !showFooterBorder,
|
||||||
|
'tw-border-secondary-100': showFooterBorder,
|
||||||
|
}"
|
||||||
|
data-chromatic="ignore"
|
||||||
|
></div>
|
||||||
<footer
|
<footer
|
||||||
class="tw-flex tw-flex-row tw-items-center tw-gap-2 tw-border-0 tw-border-t tw-border-solid tw-bg-background tw-py-5 tw-ps-6 tw-pe-4"
|
class="tw-flex tw-flex-row tw-items-center tw-gap-2 tw-bg-background tw-py-5 tw-ps-6 tw-pe-4"
|
||||||
[ngClass]="{
|
[ngClass]="{
|
||||||
'tw-px-6 tw-py-4': isDrawer,
|
'tw-px-6 tw-py-4': isDrawer,
|
||||||
'tw-p-4 has-[[biticonbutton]]:tw-pe-2': !isDrawer,
|
'tw-p-4 has-[[biticonbutton]]:tw-pe-2': !isDrawer,
|
||||||
'tw-border-transparent': !showFooterBorder,
|
|
||||||
'tw-border-secondary-100': showFooterBorder,
|
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<ng-content select="[bitDialogFooter]"></ng-content>
|
<ng-content select="[bitDialogFooter]"></ng-content>
|
||||||
|
|||||||
Reference in New Issue
Block a user