Skip to content

Commit

Permalink
Merge pull request #390 from AppQuality/utt-16-fix-play-button-position
Browse files Browse the repository at this point in the history
🩹 fix(controls.tsx, floatingControls.tsx): adjust height to 80px for better
  • Loading branch information
marcbon authored Jun 11, 2024
2 parents 0e8926a + f9f1456 commit dab429c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/stories/player/parts/controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const ControlsWrapper = styled.div<WrapperProps>`
right: 0;
padding: ${({ theme }) => theme.space.xxs} 0;
background-color: ${({ theme }) => theme.palette.grey[100]};
height: 80px;
${({ isPlaying }) => isPlaying && "display: none;"}
z-index: 2;
`;
Expand Down
1 change: 1 addition & 0 deletions src/stories/player/parts/floatingControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const FloatingContainer = styled.div<WrapperProps>`
right: 0;
${({ isPlaying }) => isPlaying && "display: none;"}
z-index: 1;
height: calc(100% - 80px);
`;

const PlayIcon = styled(PlayIconComponent)``;
Expand Down

0 comments on commit dab429c

Please sign in to comment.