This commit is contained in:
lesion 2022-11-09 19:47:13 +01:00
parent d61a2125de
commit 44f0d3ce2a
No known key found for this signature in database
GPG key ID: 352918250B012177
2 changed files with 9 additions and 7 deletions

View file

@ -43,7 +43,7 @@ li {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 16px; gap: 16px;
justify-content: center; /* justify-content: center; */
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
@ -55,6 +55,7 @@ li {
.calh { .calh {
/* this is to avoid content shift layout as v-calendar does not support SSR */ /* this is to avoid content shift layout as v-calendar does not support SSR */
height: 268px; height: 268px;
max-width: 600px;
} }
.container { .container {

View file

@ -6,8 +6,9 @@ v-container.pa-0
Announcement(v-for='announcement in announcements' :key='`a_${announcement.id}`' :announcement='announcement') Announcement(v-for='announcement in announcements' :key='`a_${announcement.id}`' :announcement='announcement')
//- Calendar and search bar //- Calendar and search bar
v-row.ma-2(v-if='!settings.hide_calendar') //- v-row.ma-2(v-if='!settings.hide_calendar')
.calh.col-xl-5.col-lg-5.col-md-7.col-sm-12.col-xs-12.mb-4.pa-0 //- .calh.col-xl-5.col-lg-5.col-md-7.col-sm-10.col-xs-12.pa-0.mx-sm-2.mx-0.my-0.mt-sm-2
.calh.mx-2.mx-sm-4.mt-2.mt-sm-4(v-if='!settings.hide_calendar')
//- this is needed as v-calendar does not support SSR //- this is needed as v-calendar does not support SSR
//- https://github.com/nathanreyes/v-calendar/issues/336 //- https://github.com/nathanreyes/v-calendar/issues/336
client-only(placeholder='Loading...') client-only(placeholder='Loading...')