From bd6521dcc02d1b224016c4df9e36388668989d0c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 10 七月 2023 00:58:17 +0800 Subject: [PATCH] 2023-07-10 --- src/tabviews/custom/components/calendar/board/index.scss | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 51 insertions(+), 4 deletions(-) diff --git a/src/tabviews/custom/components/calendar/board/index.scss b/src/tabviews/custom/components/calendar/board/index.scss index b79db1a..c455faa 100644 --- a/src/tabviews/custom/components/calendar/board/index.scss +++ b/src/tabviews/custom/components/calendar/board/index.scss @@ -111,15 +111,28 @@ } .content { padding: 0 10px 10px; - height: 70px; + height: 55px; overflow-y: auto; position: absolute; left: 0; right: 0; .message { width: 100%; + white-space: nowrap; + overflow: hidden; + .ant-badge { + width: 100%; + } .ant-badge-status-text { - color: inherit; + font-size: 13px; + width: calc(100% - 15px); + overflow: hidden; + word-break: break-word; + white-space: nowrap; + text-overflow: ellipsis; + height: 21px; + display: inline-block; + vertical-align: top; } } } @@ -163,7 +176,6 @@ .year-wrap { width: calc(100% - 2px); box-shadow: 0px 0px 3px var(--mk-sys-color2); - cursor: pointer; transition: background 0.1s; .header { text-align: center; @@ -182,7 +194,20 @@ width: 100%; overflow: hidden; margin-bottom: 5px; - text-overflow: ellipsis; + .ant-badge { + width: 100%; + } + .ant-badge-status-text { + font-size: 13px; + width: calc(100% - 15px); + overflow: hidden; + word-break: break-word; + white-space: nowrap; + text-overflow: ellipsis; + height: 21px; + display: inline-block; + vertical-align: top; + } } } .content::-webkit-scrollbar { @@ -206,6 +231,28 @@ } } } +.mk-calendar:not(.open-pop) { + .day-wrap { + cursor: default!important; + } + .month-wrap { + cursor: default!important; + } +} +.mk-calendar.open-menu { + .month-wrap, .year-wrap { + .content { + .message { + cursor: pointer; + } + } + } +} +.calendar-day-pop.open-menu { + .message { + cursor: pointer; + } +} .calendar-day-pop { .message { .ant-badge-status-text { -- Gitblit v1.8.0