Skip to content
Snippets Groups Projects
Commit dbf08ed8 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

yearly view, mobile ui

parent f6e39dd3
Branches
No related tags found
1 merge request!1Sync branches
Pipeline #12772 passed
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
v-slot="{ isCurrentView, toggleView }" v-slot="{ isCurrentView, toggleView }"
> >
<div class="flex justify-center mb-10"> <div class="flex justify-center mb-10">
<ui-horizontal-scrollable> <div class="switch overflow-x-auto">
<div class="switch">
<a <a
@click="toggleView('current_lectures')" @click="toggleView('current_lectures')"
class="switch__item" class="switch__item"
...@@ -36,7 +35,6 @@ ...@@ -36,7 +35,6 @@
:class="{'switch__item--active': isCurrentView('recordings')}" :class="{'switch__item--active': isCurrentView('recordings')}"
>Záznamy</a> >Záznamy</a>
</div> </div>
</ui-horizontal-scrollable>
</div> </div>
<div> <div>
<template v-if="isCurrentView('current_lectures')"> <template v-if="isCurrentView('current_lectures')">
...@@ -52,7 +50,7 @@ ...@@ -52,7 +50,7 @@
</template> </template>
<template v-if="isCurrentView('calendar')"> <template v-if="isCurrentView('calendar')">
<div> <div>
<ui-person-calendar events='{{ calendar_data|safe }}'></ui-person-calendar> <ui-year-calendar events='{{ calendar_data|safe }}'></ui-year-calendar>
</div> </div>
</template> </template>
<template v-if="isCurrentView('recordings')"> <template v-if="isCurrentView('recordings')">
......
...@@ -1160,6 +1160,10 @@ html { ...@@ -1160,6 +1160,10 @@ html {
overflow: hidden; overflow: hidden;
} }
.overflow-x-auto {
overflow-x: auto;
}
.text-ellipsis { .text-ellipsis {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment