Skip to content

Commit 25ec97d

Browse files
authored
Merge pull request #17 from mateonunez:style/open-source-responsive
Open source section responsive
2 parents 0b777da + dae9dd9 commit 25ec97d

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

components/github/cards/profile/profile.module.css

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,21 @@
3232

3333
@media (max-width: 600px) {
3434
.root {
35-
margin: 1rem 0 4rem;
35+
margin: 1rem auto;
36+
display: flex;
37+
flex-direction: column;
38+
width: 80vw;
39+
min-height: auto;
40+
text-align: center;
41+
}
42+
43+
.avatar {
44+
margin: 1rem auto;
45+
}
46+
47+
.bioContainer,
48+
.name,
49+
.bio {
50+
margin: auto;
3651
}
3752
}

components/github/repositories/preview/preview.module.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@
7474
@apply prose prose-invert;
7575
}
7676

77-
@media (min-width: 768px) {
77+
@media (max-width: 600px) {
7878
.root {
79-
width: 80vw;
79+
margin: 1rem auto;
80+
width: 100%;
8081
}
8182
}

components/header/header.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ export default function Header() {
8585
</a>
8686
</Link>
8787

88+
<Link href="/open-source" passHref>
89+
<a rel="canonical" title="Open Source">
90+
💻 Open Source
91+
</a>
92+
</Link>
93+
8894
<Link href="/spotify" passHref>
8995
<a rel="canonical" title="Blog">
9096
🎧 Spotify

0 commit comments

Comments
 (0)