Skip to content

Commit

Permalink
fix: chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
dauriamarco committed Dec 19, 2023
1 parent c6984bd commit f30bb00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialog/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
// In order to improve the header transition on mobile (especially iOS) we use
// a combination of the transform and margin properties on touch devices,
// while on desktop we use just the margin-block for a better transition of the visible scrollbar.
@include sbb.hover-mq($hover: true) {
@include sbb.mq($from: medium) {
transform: unset;
margin-block: var(--sbb-dialog-header-margin-block-start) 0;
transition: margin var(--sbb-dialog-animation-duration) var(--sbb-dialog-animation-easing);
Expand Down
1 change: 1 addition & 0 deletions src/components/dialog/dialog.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const playStory = async ({ canvasElement }): Promise<void> => {

const button = canvas.getByTestId('dialog-trigger');
await userEvent.click(button);
await new Promise((resolve) => setTimeout(resolve, 2000));
};

const titleContent: InputType = {
Expand Down

0 comments on commit f30bb00

Please sign in to comment.