Skip to content

Commit 4b7fcf0

Browse files
authored
Fix styling in IE11
This doesn't work in IE11 it messed up the icon in the main button updating the position to unset and adding text-decoration to none fix it. Tested in IE11, Chrome, and Edge Chromium.
1 parent 04d200d commit 4b7fcf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/MainButton.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ const Wrapper = styled('a')(({ background, size }) => ({
2222

2323
const IconWrapper = styled('div')(({ isOpen }) => ({
2424
display: 'flex',
25-
position: 'absolute',
25+
position: 'unset',
26+
textDecoration: 'none',
2627
WebkitTransition: '-webkit-transform 300ms',
2728
transition: 'transform 300ms',
2829
WebkitTransform: `rotate(${isOpen ? 180 : 0}deg)`,

0 commit comments

Comments
 (0)