Verified Commit 16caff8a authored by les's avatar les
Browse files

mobile layout improvement

parent 8a0738b2
......@@ -10,9 +10,9 @@
.d-none.dt-end {{event.end_datetime|unixFormat('YYYY-MM-DD HH:mm')}}
a.place.d-block.p-location.pl-0(text color='primary' @click="$emit('placeclick', event.place.id)") <v-icon>mdi-map-marker</v-icon> {{event.place.name}}
v-card-actions.actions.justify-space-between
v-card-actions.pt-0.actions.justify-space-between
.tags
v-chip.ml-1.px-2(v-for='tag in event.tags' small
v-chip.ml-1.mt-1(v-for='tag in event.tags.slice(0,6)' small
:key='tag' outlined color='primary' @click="$emit('tagclick', tag)") {{tag}}
v-menu(offset-y)
......
......@@ -12,9 +12,10 @@
offset-y bottom open-on-hover transition="slide-y-transition")
template(v-slot:activator="{ on, attrs }")
v-btn.ml-1(v-bind='attrs' v-on='on' color='primary' text) {{$t('common.places')}}
v-list
v-list(subheaders two-lines)
v-list-item(v-for='instance in settings.trusted_instances'
:key='instance.name'
target='_blank'
:href='instance.url'
two-line)
v-list-item-avatar
......
......@@ -6,7 +6,7 @@
inset color='primary'
hide-details
:label="$t('event.show_recurrent')")
v-autocomplete.mt-0(
v-autocomplete.mt-0.pt-0(
:label='$t("common.search")'
:items='keywords'
hide-details
......
......@@ -307,6 +307,8 @@ export default {
<style lang='less'>
.title {
margin-bottom: 25px;
color: yellow;
font-weight: 300 !important;
}
.main_image {
// width: 100%;
......
......@@ -6,8 +6,8 @@
Announcement(v-for='announcement in announcements' :key='`a_${announcement.id}`' :announcement='announcement')
//- Calendar and search bar
v-row
.col-xl-5.col-lg-5.col-md-7.col-sm-12.col-xs-12
v-row.pt-0.pt-sm-2
.col-xl-5.col-lg-5.col-md-7.col-sm-12.col-xs-12.pa-4.pa-sm-3
//- this is needed as v-calendar does not support SSR
//- https://github.com/nathanreyes/v-calendar/issues/336
client-only
......@@ -18,7 +18,7 @@
v-chip(v-if='selectedDay' close @click:close='dayChange({ date: selectedDay})') {{selectedDay}}
//- Events
#events.mt-1
#events.mb-2.mt-1.pl-1.pl-md-0
//- div.event(v-for='(event, idx) in events' :key='event.id' v-intersect="(entries, observer, isIntersecting) => intersecting[event.id] = isIntersecting")
Event(:event='event' v-for='(event, idx) in visibleEvents' :key='event.id' @tagclick='tagClick' @placeclick='placeClick')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment