Skip to content

Commit 0892a9a

Browse files
committed
Fix styling
1 parent 2d2b324 commit 0892a9a

File tree

6 files changed

+22
-12
lines changed

6 files changed

+22
-12
lines changed

packages/common/src/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ body {
1414
height: 100%;
1515
background: #1c2022;
1616
color: #cccccc;
17+
font-size: 16px !important;
1718

1819
-ms-overflow-style: -ms-autohiding-scrollbar;
1920
}

packages/dynamic-pages/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
out
2+
.next
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
presets: ['next/babel'],
3+
plugins: ['babel-plugin-styled-components'],
4+
};

packages/dynamic-pages/pages/_app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { ThemeProvider } from 'styled-components';
66
import theme from 'common/lib/theme';
77
import Navigation from 'common/lib/components/Navigation';
88
import Footer from 'common/lib/components/Footer';
9-
import '../css/global.css';
109
import '../css/typography.css';
10+
import '../css/global.css';
1111

1212
export default class MyApp extends App {
1313
static async getInitialProps({ Component, ctx }) {

packages/dynamic-pages/pages/profile/_elements.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const Title = styled.h3`
1515
font-weight: 300;
1616
font-size: 24px;
1717
margin-bottom: 30px;
18+
margin-top: 2rem;
1819
color: ${props => props.theme.new.title};
1920
`;
2021

packages/dynamic-pages/pages/profile/index.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Profile = ({ profile, liked, showcased }) =>
4242
/>
4343
</div>
4444
) : null}
45-
<Title>User sandboxes</Title>
45+
<Title>User Sandboxes</Title>
4646
<SandboxesWrapper
4747
css={`
4848
grid-gap: 24px;
@@ -78,16 +78,18 @@ const Profile = ({ profile, liked, showcased }) =>
7878
margin-bottom: 48px;
7979
`}
8080
>
81-
{liked[1].slice(0, 5).map(sandbox => (
82-
<WideSandbox
83-
noMargin
84-
defaultHeight={170}
85-
small
86-
key={sandbox.id}
87-
pickSandbox={({ id }) => openSandbox(id)}
88-
sandbox={sandbox}
89-
/>
90-
))}
81+
{liked[1]
82+
.slice(0, 5)
83+
.map(sandbox => (
84+
<WideSandbox
85+
noMargin
86+
defaultHeight={170}
87+
small
88+
key={sandbox.id}
89+
pickSandbox={({ id }) => openSandbox(id)}
90+
sandbox={sandbox}
91+
/>
92+
))}
9193
{liked[1].length > 5 && (
9294
<More>
9395
<Link

0 commit comments

Comments
 (0)