[WIP] Change colors, add name component and change width

This commit is contained in:
megavrilinvv
2022-10-24 12:57:05 +03:00
parent 548da5c96c
commit a55a08e754
3 changed files with 29 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
<template lang="pug">
.calendar-container.flex(:style="{ width: `calc(100% - ${currentWidth})` }")
calendar-sidebar(@width='changeWidth' :team="team")
.calendar-container.flex
calendar-sidebar(@width="changeWidth" :team="team")
calendar-schedule(
:current-date="currentDate"
:time-information="timeInformation"
@@ -56,7 +56,7 @@ export default {
.then((res) => this.saveEventsData(res));
},
changeWidth(value) {
this.currentWidth = value.width;
this.currentWidth = value;
},
},
mounted() {