Skip to content

Commit

Permalink
wip: Provide a new TimeLine component #909
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Aug 20, 2024
1 parent 42751ad commit 3fbab31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/client/components/collection/KTimeLine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ const layout = computed(() => {
const comfortSize = computed(() => {
return `${props.sideWidth}%`
})
const comfortPadding = computed(() => {
return $q.screen.lt.sm ? '24px' : '32px'
})
// Watch
watch(items, onCollectionRefreshed)
Expand Down Expand Up @@ -317,4 +320,8 @@ onBeforeUnmount(() => {
padding-bottom: 16px;
width: calc(100% - v-bind(comfortSize));
}
.q-timeline--dense--right .q-timeline__entry {
padding-left: v-bind(comfortPadding);
}
</style>

0 comments on commit 3fbab31

Please sign in to comment.