Skip to content

Commit

Permalink
Remove unnecessary div with inline style
Browse files Browse the repository at this point in the history
This is now handled in `.player` CSS.
  • Loading branch information
kasperbirch1 committed Nov 26, 2024
1 parent 60d8b4c commit a6c0d19
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/components/reader-player/Player.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,10 @@ export default meta;
type Story = StoryObj<typeof Player>;

export const WithIdentifier: Story = {
render: () => (
<div style={{ minHeight: "250px" }}>
<Player identifier="9788702366600" />
</div>
)
render: () => <Player identifier="9788702366600" />
};

// Works only if the matrial is reserved
export const WithOrderId: Story = {
render: () => (
<div style={{ minHeight: "250px" }}>
<Player orderId="" />
</div>
)
render: () => <Player orderId="" />
};

0 comments on commit a6c0d19

Please sign in to comment.