Skip to content

Commit

Permalink
prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Sep 9, 2024
1 parent 26c63b4 commit 6562af0
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .storybook/utils/interaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const demoModeLoader: Loader = async (context) => {
return user.click(target);
},
};
} else if(context.title.includes('page')) {
} else if(!context.title.includes('button')) {
context.userEvent = userEvent.setup();
}
}
5 changes: 0 additions & 5 deletions src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ const StyledButton = styled.button<{
box-shadow: ${boxShadow.outerBorder};
}
&:disabled {
background-color: ${clear ? color.buttonClear : color.buttonPrimary};
opacity: 0.4;
}
@media ${breakpoints.M} {
padding: ${withIcon ? '1rem' : large ? '1.125rem 1.5rem' : '0.875rem 1.5rem'};
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6562af0

Please sign in to comment.