Удалила лишние пропсы и стили
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
@selected-layout="selectedLayout"
|
||||
)
|
||||
.schedule-body
|
||||
.column-wrapper.flex.ml-20.relative(:style="columnWrapperWidth")
|
||||
.column-wrapper.flex.ml-20(:style="columnWrapperWidth")
|
||||
calendar-column(
|
||||
v-for="(owner, index) in filteredOwners"
|
||||
:key="owner.id"
|
||||
@@ -18,7 +18,7 @@
|
||||
:day-events="filterEventsByOwner(owner)"
|
||||
:day-start-time="validateStartTime"
|
||||
:day-end-time="validateEndTime"
|
||||
:style="columnWidth"
|
||||
:style="columnSize"
|
||||
)
|
||||
.flex.w-full.relative
|
||||
.time-coil-wrapper.left-0.-mt-3
|
||||
@@ -38,12 +38,7 @@
|
||||
)
|
||||
.flex(:class="calendarBackgroundWidth")
|
||||
calendar-background(
|
||||
:current-date="currentDate"
|
||||
:time-coil="timeCoil"
|
||||
:events-data="eventsData"
|
||||
:sidebar-width="sidebarWidth"
|
||||
:day-start-time="validateStartTime"
|
||||
:day-end-time="validateEndTime"
|
||||
:owners-count="ownersCount"
|
||||
)
|
||||
</template>
|
||||
@@ -187,7 +182,7 @@ export default {
|
||||
this.columnHeaderHeight
|
||||
);
|
||||
},
|
||||
columnWidth() {
|
||||
columnSize() {
|
||||
if (this.ownersCount > 3) {
|
||||
return {
|
||||
height: `${this.columnHeight}px`,
|
||||
@@ -260,7 +255,7 @@ export default {
|
||||
if (this.convertTime(elem, 0, -3) === this.hours) {
|
||||
return this.hoursMinutes;
|
||||
}
|
||||
return elem;
|
||||
return elem.slice(0, -3) + ":00";
|
||||
});
|
||||
},
|
||||
verifyTime(dayTime) {
|
||||
@@ -360,6 +355,7 @@ export default {
|
||||
z-index: 5
|
||||
|
||||
.column-wrapper
|
||||
position: relative
|
||||
height: 48px
|
||||
background-color: var(--default-white)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user