Skip to content

Commit 892556a

Browse files
committed
Fix display on mobile
1 parent fe7fe2c commit 892556a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

api/pkg/di/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ func (container *Container) RegisterEventRoutes() {
772772

773773
// RegisterSwaggerRoutes registers routes for swagger
774774
func (container *Container) RegisterSwaggerRoutes() {
775-
container.logger.Debug(fmt.Sprintf("registering %T routes", &handlers.MessageHandler{}))
775+
container.logger.Debug(fmt.Sprintf("registering %T routes", swagger.HandlerDefault))
776776
container.App().Get("/*", swagger.HandlerDefault)
777777
}
778778

web/pages/index.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
class="text-h2 font-weight-bold pb-1 gradient-header"
4646
:class="{
4747
'mt-16': $vuetify.breakpoint.lgAndUp,
48-
'mt-10': $vuetify.breakpoint.mdAndUp,
48+
'mt-10': $vuetify.breakpoint.mdOnly,
49+
'mt-8': $vuetify.breakpoint.smAndDown,
4950
}"
5051
>
5152
Convert your android phone into an SMS gateway.
@@ -237,9 +238,13 @@
237238
<v-col
238239
cols="12"
239240
md="7"
240-
:class="{ 'pt-16 pb-16': $vuetify.breakpoint.lgAndUp }"
241+
class="mb-16"
242+
:class="{ 'pt-16': $vuetify.breakpoint.mdAndUp }"
241243
>
242-
<div class="w-full mt-4">
244+
<div
245+
class="w-full mt-4"
246+
:class="{ 'mb-16': $vuetify.breakpoint.smAndDown }"
247+
>
243248
<v-tabs v-model="selectedTab" show-arrows>
244249
<v-tab href="#javascript">
245250
<v-icon color="#efd81d" class="mr-1">{{

0 commit comments

Comments
 (0)