Skip to content

Commit 4ff6a1c

Browse files
committed
fix(index): title top margin
1 parent 392d68f commit 4ff6a1c

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

components/HeaderBar.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import logoSrc from '~/assets/logo.svg'
33
</script>
44

55
<template>
6-
<div class="grid justify-content-between align-content-center header m-3">
6+
<div class="grid justify-content-between align-content-center m-3">
77
<div class="col-4 flex align-items-center">
88
<NuxtLink to="/"><img :src="logoSrc" width="40" alt="Logo"></NuxtLink>
99
</div>
@@ -16,11 +16,3 @@ import logoSrc from '~/assets/logo.svg'
1616
</div>
1717
</div>
1818
</template>
19-
20-
<style lang="postcss">
21-
.header {
22-
@media (max-width: 768px) {
23-
margin-bottom: 0;
24-
}
25-
}
26-
</style>

pages/index.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,12 @@ defineOgImageStatic({ description: "Thomas Lamant's homepage" })
5050
}
5151
5252
& h1 {
53-
margin-top: 1rem;
53+
margin-top: 2rem;
5454
font-size: 40px;
55+
56+
@media (max-width: 768px) {
57+
margin-top: 1.5rem;
58+
}
5559
}
5660
5761
& .emphasis {

0 commit comments

Comments
 (0)