diff --git a/src/components/CDateTime/CDateTime.vue b/src/components/CDateTime/CDateTime.vue index 6201f78..d047d89 100644 --- a/src/components/CDateTime/CDateTime.vue +++ b/src/components/CDateTime/CDateTime.vue @@ -39,21 +39,22 @@ - + > diff --git a/src/components/CEventsCalendar/CEventsCalendar.scss b/src/components/CEventsCalendar/CEventsCalendar.scss index a46b266..ac64c28 100644 --- a/src/components/CEventsCalendar/CEventsCalendar.scss +++ b/src/components/CEventsCalendar/CEventsCalendar.scss @@ -10,6 +10,17 @@ $graytext: #555; font-size: 12px; } +.my-event-rel { + width: 100%; + font-size: 0.75rem; + line-height: 1.25rem; + text-align: center; + vertical-align: center; + margin-bottom: 5px; + cursor: pointer; + padding: 4px 2px 4px 2px !important; +} + .flex-container { background-color: #ccc; padding: 10px; diff --git a/src/components/CEventsCalendar/CEventsCalendar.ts b/src/components/CEventsCalendar/CEventsCalendar.ts index cbf8af2..a389f3e 100644 --- a/src/components/CEventsCalendar/CEventsCalendar.ts +++ b/src/components/CEventsCalendar/CEventsCalendar.ts @@ -17,8 +17,6 @@ import { CMySelect } from '../../components/CMySelect/index' import { CMyEditor } from '../../components/CMyEditor/index' import { stop, prevent, stopAndPrevent } from 'quasar/src/utils/event' -import QDateScroller from '@quasar/quasar-app-extension-qscroller/src/component/QDateScroller' -import QDateTimeScroller from '@quasar/quasar-app-extension-qscroller/src/component/QDateTimeScroller' import { CTodo } from '@src/components/todos/CTodo' import { SingleProject } from '@src/components/projects/SingleProject' import { IEvents } from '@src/model' @@ -46,8 +44,6 @@ import { CMyTeacher } from '../CMyTeacher' Footer, CTitle, CImgText, - QDateTimeScroller, - QDateScroller, CMySelect, CMyEditor, CDateTime, @@ -277,7 +273,9 @@ export default class CEventsCalendar extends MixinEvents { } get dayHeight() { - if (Screen.height < 500) + if (Screen.height < 400) + return 80 + else if (Screen.height < 500) return 100 if (Screen.height < 700) return 110 @@ -1027,5 +1025,8 @@ export default class CEventsCalendar extends MixinEvents { public getTitleEv(event: IEvents) { return (!!event.short_tit) ? event.short_tit : event.title } + public getLongTitleEv(event: IEvents) { + return event.title + } } diff --git a/src/components/CEventsCalendar/CEventsCalendar.vue b/src/components/CEventsCalendar/CEventsCalendar.vue index da36033..54f94a2 100644 --- a/src/components/CEventsCalendar/CEventsCalendar.vue +++ b/src/components/CEventsCalendar/CEventsCalendar.vue @@ -403,17 +403,19 @@ - +
- + - - + + + @@ -497,23 +499,6 @@