Skip to content

Commit

Permalink
Merge branch 'history-timeline-mobile' into 'main'
Browse files Browse the repository at this point in the history
Improve history timeline for mobile

See merge request reportcreator/reportcreator!500
  • Loading branch information
MWedl committed Mar 28, 2024
2 parents 8cbafea + b918fa6 commit 74c014a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions frontend/src/components/History/Timeline.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<template>
<v-navigation-drawer
v-if="mobile ? props.modelValue : true"
:model-value="props.modelValue"
@update:model-value="emit('update:modelValue', $event)"
location="right"
absolute
temporary
touchless
:mobile-breakpoint="0"
class="history-sidebar"
>
<div class="history-timeline-header">
Expand Down Expand Up @@ -64,6 +67,7 @@ const emit = defineEmits<{
}>();
const apiSettings = useApiSettings();
const { mobile } = useDisplay();
const historyRecords = useSearchableCursorPaginationFetcher<HistoryTimelineRecord>({
baseURL: props.url
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/S/SubDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
:rail="!isExpanded"
rail-width="36"
width="180"
permanent
permanent
touchless
color="drawer"
class="subdrawer"
>
Expand Down

0 comments on commit 74c014a

Please sign in to comment.