Skip to content

Commit

Permalink
fix(replay): Set explicit size for feedback svg
Browse files Browse the repository at this point in the history
Looks like rrweb does not record height/width attrs on svgs, so if you have images disabled, the replay can look inaccurate due the svg size.
  • Loading branch information
billyvg committed Sep 22, 2023
1 parent 741ff94 commit 22efb92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/feedback/feedbackButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ const Button = styled.button`
&:hover {
background-color: #eee;
}
svg {
width: 20px;
height: 20px;
}
`;

const ButtonText = styled.span`
Expand Down

0 comments on commit 22efb92

Please sign in to comment.