Skip to content

Commit 8f8a720

Browse files
committed
chore: tweak home style
1 parent 4a1208b commit 8f8a720

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.vitepress/theme/components/Home.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ onMounted(async () => {
2323
user interfaces.
2424
</p>
2525
<p class="actions">
26-
<vue-mastery-modal />
26+
<VueMasteryModal />
2727
<a class="get-started" href="/guide/introduction.html">
2828
Get Started
2929
<svg
@@ -279,7 +279,7 @@ html:not(.dark) .accent,
279279
280280
@media (max-width: 576px) {
281281
#hero {
282-
padding: 64px 32px;
282+
padding: 56px 32px;
283283
}
284284
.description {
285285
font-size: 16px;
@@ -302,7 +302,7 @@ html:not(.dark) .accent,
302302
padding: 20px 36px;
303303
}
304304
.actions a {
305-
margin: 0.5em 0;
305+
margin: 18px 0;
306306
}
307307
}
308308

.vitepress/theme/components/VueMasteryModal.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,11 @@ watch(
185185
font-weight: 600;
186186
}
187187
188-
@media (max-width: 360px) {
188+
@media (max-width: 576px) {
189189
#vuemastery-action {
190-
margin-right: 0;
190+
display: block;
191+
margin: 0px auto;
192+
width: 150px;
191193
}
192194
}
193195
</style>

0 commit comments

Comments
 (0)