Skip to content

Commit

Permalink
#339: Full screen modal: Close button in wrong location (#340)
Browse files Browse the repository at this point in the history
:#339: Full screen modal: Close button in wrong location
  • Loading branch information
aaron-nance committed Apr 15, 2024
1 parent 12b913b commit fb910a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/ebay-calendar/__tests__/render.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import { render, screen } from '@testing-library/react'
import { composeStory } from '@storybook/react'
import Meta, { Default, Navigable, RangeSelected } from './index.stories'

jest
.useFakeTimers()
.setSystemTime(new Date('2024-03-05').getTime())

const DefaultStory = composeStory(Default, Meta)
const NavigableStory = composeStory(Navigable, Meta)
const RangeSelectedStory = composeStory(RangeSelected, Meta)
Expand Down
2 changes: 1 addition & 1 deletion src/ebay-fullscreen-dialog/fullscreen-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const EbayFullscreenDialog: FC<Props> = ({
<DialogBaseWithState
{...rest}
classPrefix={classPrefix}
buttonPosition="left"
buttonPosition="right"
onCloseBtnClick={onClose}
transitionElement="window"
animated={animated}
Expand Down

0 comments on commit fb910a4

Please sign in to comment.