Skip to content

Commit

Permalink
pkp/pkp-lib#9527 Add margin to stories to properly see borders/shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Dec 18, 2023
1 parent 3bb75aa commit 68fe0df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ setup((app) => {

const preview = {
loaders: [mswLoader],
decorators: [
(story) => ({
components: {story},
template: '<div style="margin: 3em;"><story /></div>',
}),
],
parameters: {
actions: {argTypesRegex: '^on[A-Z].*'},
controls: {
Expand Down

0 comments on commit 68fe0df

Please sign in to comment.