[task overview] blocker

This commit is contained in:
Filip Kaluža committed 2022-12-09 17:37:04 +01:00
1 parent 288ff16e7d
commit 73b21b4e42
6 files changed
+22 -34

No files matched your search

@@ -224,6 +224,7 @@ export default {
let width = 100 - (this.eventPosition * 10)
let left = 10 * this.eventPosition / 2
let zIdnex = (this.eventPosition + 1) * 10
let background = this.event.master_task_color
if (this.vuecal.minEventWidth && width < this.vuecal.minEventWidth) {
width = this.vuecal.minEventWidth
@@ -233,6 +234,7 @@ export default {
const { top, height } = this.eventDimensions
return {
"background": background,
"z-index": `${zIdnex}`,
top: `${top}px`,
height: `${height}px`,
@@ -247,6 +249,7 @@ export default {
return {
[this.event.class]: !!this.event.class,
'event-blocker': this.event.is_blocker,
'vuecal__event--focus': this.event.focused,
'vuecal__event--resizing': this.event.resizing,
'vuecal__event--background': this.event.background,