Skip to content

Commit

Permalink
Merge pull request #56 from storybookjs/fix/ui-fixes
Browse files Browse the repository at this point in the history
UI fixes
  • Loading branch information
cdedreuille authored Jun 16, 2023
2 parents 73cda09 + 8463de1 commit f640780
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ const StyledButton = styled.button<{ variant: ButtonProps["variant"] }>`
font-size: 0.8125rem;
font-weight: 700;
font-family: ${({ theme }) => theme.typography.fonts.base};
transition: all 0.16s ease-in-out;
transition: background-color, box-shadow, opacity;
transition-duration: 0.16s;
transition-timing-function: ease-in-out;
text-decoration: none;
&:hover {
Expand Down
4 changes: 3 additions & 1 deletion src/features/GuidedTour/GuidedTour.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ export function GuidedTour({
floaterProps={{
styles: {
floater: {
padding: "8px 0 0 8px",
padding: 0,
paddingLeft: 8,
paddingTop: 8,
filter:
"drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1))",
},
Expand Down
1 change: 1 addition & 0 deletions src/features/WriteStoriesModal/WriteStoriesModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const WriteStoriesModal: FC<WriteStoriesModalProps> = ({
onClick={() => copyWarningStory()}
style={{
position: "absolute",
opacity: clipboardButtonBounds.width ? 1 : 0,
top: backdropBoundary.top + backdropBoundary.height - 45,
left:
backdropBoundary.left +
Expand Down

0 comments on commit f640780

Please sign in to comment.