fix groups button display

This commit is contained in:
ThatOneCalculator 2022-11-06 14:49:03 -08:00
parent 08c712dbf3
commit 243cbf6057

View file

@ -25,10 +25,10 @@
</swiper-slide> </swiper-slide>
<swiper-slide> <swiper-slide>
<div class="_content yweeujhr groups"> <div class="_content yweeujhr groups">
<span> <div class="groupsbuttons">
<MkButton primary class="start" :link="true" to="/my/groups"><i class="fas fa-people-roof"></i> {{ i18n.ts.manageGroups }}</MkButton> <MkButton primary class="start" :link="true" to="/my/groups"><i class="fas fa-people-roof"></i> {{ i18n.ts.manageGroups }}</MkButton>
<MkButton primary class="start" @click="startGroup"><i class="fas fa-plus"></i> {{ i18n.ts.startMessaging }}</MkButton> <MkButton primary class="start" @click="startGroup"><i class="fas fa-plus"></i> {{ i18n.ts.startMessaging }}</MkButton>
</span> </div>
<MkPagination v-slot="{items}" :pagination="groupsPagination"> <MkPagination v-slot="{items}" :pagination="groupsPagination">
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message"/> <MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message"/>
</MkPagination> </MkPagination>
@ -193,5 +193,12 @@ onUnmounted(() => {
> .start { > .start {
margin: 0 auto var(--margin) auto; margin: 0 auto var(--margin) auto;
} }
> .groupsbuttons {
max-width: 100%;
display: flex;
justify-content: center;
margin-bottom: 1rem;
}
} }
</style> </style>