Skip to content

Commit

Permalink
fix: prevent button from moving onfocus
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Victor committed Jun 7, 2023
1 parent 3fa09de commit ed636df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/inc/widgets/Time.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const Time = () => {
};

const MoreButton = styled(IconButton, {
include: "buttonReset",
pd: "$16",
boxSizing: "content-box",
position: "absolute",
Expand All @@ -120,7 +121,7 @@ const MoreButton = styled(IconButton, {
opacity: 0,
"&:focus": {
opacity: 1,
transform: "scale(1)",
transform: "translateY(-50%)",
},
"&:hover": {
opacity: 1,
Expand Down

0 comments on commit ed636df

Please sign in to comment.