Skip to content

Commit 7b21ae5

Browse files
author
Ives van Hoorne
committed
Fix width artifacts for 1280px width
1 parent 9e6e857 commit 7b21ae5

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

src/homepage/src/screens/home/Animation/Title.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ const Secondary = styled.div`
102102

103103
export default ({ template }) => (
104104
<Container>
105-
<Title>
105+
<Title title="CodeSandbox">
106106
<Secondary style={{ color: template.color() }}>Code</Secondary>
107107
<Primary>Sandbox</Primary>
108108
</Title>
109-
<SubTitle>
109+
<SubTitle title="The online editor tailored for web applications">
110110
The online code editor for&nbsp;
111111
<RollingText updateCheck={template.name} width="12rem">
112112
<span style={{ color: template.color() }}>{template.niceName}</span>

src/homepage/src/screens/home/Frameworks/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ const Container = styled.div`
4040
flex-direction: row;
4141
height: 255px;
4242
43+
${media.tablet`
44+
margin-top: 1rem;
45+
height: 320px;
46+
`};
47+
4348
${media.phone`
4449
margin-top: 1rem;
4550
height: 280px;

src/homepage/src/utils/media.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
`,
99

1010
phone: (...args) => css`
11-
@media (max-width: 600px) {
11+
@media (max-width: 660px) {
1212
${css(...args)};
1313
}
1414
`,

0 commit comments

Comments
 (0)