From bc7e82b88e758caaeffbafad3b30b2df880723a3 Mon Sep 17 00:00:00 2001 From: Daria Golova Date: Mon, 17 Oct 2022 12:45:00 +0300 Subject: [PATCH 1/3] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D0=B0=20=D0=B8=D0=BD=D0=B4=D0=B8=D0=BA=D0=B0=D1=82=D0=BE?= =?UTF-8?q?=D1=80=20,=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B8=D0=BB?= =?UTF-8?q?=D0=B0=20=D1=82=D0=B0=D0=B9=D0=BC=D0=B5=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../calendar/components/CalendarColumn.vue | 14 ++++--- .../calendar/components/CalendarSchedule.vue | 42 ++++++++++++------- 2 files changed, 37 insertions(+), 19 deletions(-) diff --git a/src/pages/calendar/components/CalendarColumn.vue b/src/pages/calendar/components/CalendarColumn.vue index 120697a..ac8648a 100644 --- a/src/pages/calendar/components/CalendarColumn.vue +++ b/src/pages/calendar/components/CalendarColumn.vue @@ -6,7 +6,7 @@ span.member-name.font-medium.text-base.mr-6 {{ info.name }} img.icon-wrapper.cursor-pointer(src="@/assets/icons/lock.svg") base-doc-ok-button - .flex.flex-col + .body.flex.flex-col span.block.time-indicator(v-if="isShownIndicator" :style="indicatorLocation") .line.flex.items-center(v-for="hour in hoursArray" :key="hour") .middle-line @@ -44,8 +44,8 @@ export default { let newTime = this.currentTime .split(":") .map((elem) => parseInt(elem, 10)); - let result = (newTime[0] - 7) * 60.5 + newTime[1]; - if (result > 666) { + let result = (newTime[0] - 8) * 62 + newTime[1] * 1.03; + if (result > 620) { this.isShownIndicator = false; return 0; } @@ -58,11 +58,12 @@ export default { diff --git a/src/pages/calendar/components/CalendarClockColumn.vue b/src/pages/calendar/components/CalendarClockColumn.vue index d166fb1..203cc72 100644 --- a/src/pages/calendar/components/CalendarClockColumn.vue +++ b/src/pages/calendar/components/CalendarClockColumn.vue @@ -1,6 +1,6 @@ diff --git a/tailwind.config.js b/tailwind.config.js index d32734c..162cc69 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -23,6 +23,9 @@ module.exports = { gap: { 43: "43px", }, + spacing: { + 6: "6px", + }, }, }, plugins: [], From 399f07ee6e448040166d2f9d299dc89133e984de Mon Sep 17 00:00:00 2001 From: Daria Golova Date: Mon, 17 Oct 2022 17:14:13 +0300 Subject: [PATCH 3/3] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=D0=B0=20tailwind.config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/calendar/components/CalendarBackground.vue | 2 +- tailwind.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/calendar/components/CalendarBackground.vue b/src/pages/calendar/components/CalendarBackground.vue index 8f70a54..429a388 100644 --- a/src/pages/calendar/components/CalendarBackground.vue +++ b/src/pages/calendar/components/CalendarBackground.vue @@ -2,7 +2,7 @@ .calendar-background-wrapper.flex.flex-col .header.flex.items-center.justify-between.py-2.px-6 .body.flex.flex-col - .time-circle-indicator.-left-6(v-if="isShownIndicator" :style="circleIndicatorLocation") + .time-circle-indicator.-left-6px(v-if="isShownIndicator" :style="circleIndicatorLocation") span.time-line-indicator.block(v-if="isShownIndicator" :style="lineIndicatorLocation") .line.flex.items-center(v-for="hour in hoursArray" :key="hour") .middle-line diff --git a/tailwind.config.js b/tailwind.config.js index 162cc69..2380927 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -24,7 +24,7 @@ module.exports = { 43: "43px", }, spacing: { - 6: "6px", + "6px": "6px", }, }, },