Skip to content

Commit 4d345e2

Browse files
committed
Make navigation buttons buttons
1 parent 7ff649d commit 4d345e2

File tree

1 file changed

+5
-1
lines changed
  • packages/app/src/app/components/Preview/Navigator

1 file changed

+5
-1
lines changed

packages/app/src/app/components/Preview/Navigator/elements.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ export const Icons = styled.div`
1616
display: flex;
1717
`;
1818

19-
export const Icon = styled.div`
19+
export const Icon = styled.button`
2020
display: inline-block;
21+
border: none;
22+
background-color: transparent;
2123
color: ${props =>
2224
props.disabled ? props.theme.gray : props.theme.gray.darken(0.3)};
2325
font-size: 1.5rem;
2426
line-height: 0.5;
2527
margin: 0 0.1rem;
2628
vertical-align: middle;
2729
text-align: center;
30+
padding: 0;
31+
outline: none;
2832
2933
${props =>
3034
!props.disabled &&

0 commit comments

Comments
 (0)