We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa3495 commit 52be7efCopy full SHA for 52be7ef
client/modules/IDE/pages/IDEViewMobile.jsx
@@ -69,6 +69,12 @@ const Icon = styled.a`
69
}
70
`;
71
72
+const StyledLink = styled(Link)`
73
+ width: 3rem;
74
+ margin-right: 1.25rem;
75
+ margin-left: none;
76
+`;
77
+
78
79
const Screen = ({ children }) => (
80
<div className="fullscreen-preview">
@@ -91,9 +97,9 @@ const IDEViewMobile = (props) => {
91
97
return (
92
98
<Screen>
93
99
<Header>
94
- <Link to="/" style={{ width: '3rem', marginRight: '1.25rem' }}>
100
+ <StyledLink to="/">
95
101
<CloseIcon viewBox="20 21 60 60" aria-hidden="true" aria-label="close header" />
96
- </Link>
102
+ </StyledLink>
103
<div>
104
<h2>{project.name}</h2>
105
<h3>{selectedFile.name}</h3>
0 commit comments