Skip to content

Commit

Permalink
Merge pull request #138 from imteekay/cursor-pointer-buttons
Browse files Browse the repository at this point in the history
Add pointer for button's cursor
  • Loading branch information
mdevils committed Nov 1, 2023
2 parents 0edc681 + b700092 commit a816983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/dialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const CloseButton = styled.button`
right: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
`;

const stopEventPropagation = (e: React.UIEvent) => e.stopPropagation();
Expand Down
1 change: 1 addition & 0 deletions src/containers/exercise/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const ButtonsWrapper = styled.div<{color: string; backgroundColor: string}>`
margin: 0 10px;
color: ${(props) => props.color};
background-color: ${(props) => props.backgroundColor};
cursor: pointer;
:hover {
filter: ${(props) => (props.backgroundColor === '#1e1e1e' ? 'brightness(1.3)' : 'brightness(0.9)')};
Expand Down

0 comments on commit a816983

Please sign in to comment.