Skip to content

Commit dcdd242

Browse files
committed
Fix spacing
1 parent 1fbc2ac commit dcdd242

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

web/layouts/website.vue

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
<v-container>
55
<v-row>
66
<v-col class="w-full d-flex">
7-
<nuxt-link to="/" class="text-decoration-none mt-5 d-flex">
7+
<nuxt-link
8+
to="/"
9+
class="text-decoration-none d-flex"
10+
:class="{ 'mt-5': $vuetify.breakpoint.mdAndUp }"
11+
>
812
<v-avatar tile size="33" class="mt-1">
913
<v-img contain :src="require('@/assets/img/logo.svg')"></v-img>
1014
</v-avatar>
@@ -53,7 +57,10 @@
5357
v-show="$store.getters.getAuthUser === null"
5458
exact-path
5559
color="primary"
56-
class="mt-5"
60+
:class="{
61+
'mt-5': $vuetify.breakpoint.mdAndUp,
62+
'mt-1': !$vuetify.breakpoint.mdAndUp,
63+
}"
5764
:large="$vuetify.breakpoint.lgAndUp"
5865
:to="{ name: 'login' }"
5966
>
@@ -64,7 +71,10 @@
6471
v-show="$store.getters.getAuthUser !== null"
6572
exact-path
6673
color="primary"
67-
class="mt-5"
74+
:class="{
75+
'mt-5': $vuetify.breakpoint.mdAndUp,
76+
'mt-1': !$vuetify.breakpoint.mdAndUp,
77+
}"
6878
:large="$vuetify.breakpoint.lgAndUp"
6979
:to="{ name: 'threads' }"
7080
>

0 commit comments

Comments
 (0)