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

yearly view, mobile ui

parent f6e39dd3
No related branches found
No related tags found
1 merge request!1Sync branches
Pipeline #12772 passed
......@@ -18,8 +18,7 @@
v-slot="{ isCurrentView, toggleView }"
>
<div class="flex justify-center mb-10">
<ui-horizontal-scrollable>
<div class="switch">
<div class="switch overflow-x-auto">
<a
@click="toggleView('current_lectures')"
class="switch__item"
......@@ -36,7 +35,6 @@
:class="{'switch__item--active': isCurrentView('recordings')}"
>Záznamy</a>
</div>
</ui-horizontal-scrollable>
</div>
<div>
<template v-if="isCurrentView('current_lectures')">
......@@ -52,7 +50,7 @@
</template>
<template v-if="isCurrentView('calendar')">
<div>
<ui-person-calendar events='{{ calendar_data|safe }}'></ui-person-calendar>
<ui-year-calendar events='{{ calendar_data|safe }}'></ui-year-calendar>
</div>
</template>
<template v-if="isCurrentView('recordings')">
......
......@@ -1160,6 +1160,10 @@ html {
overflow: hidden;
}
.overflow-x-auto {
overflow-x: auto;
}
.text-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