diff --git a/blossom-editor/src/renderer/src/assets/styles/bl-tooltip.scss b/blossom-editor/src/renderer/src/assets/styles/bl-popper.scss similarity index 95% rename from blossom-editor/src/renderer/src/assets/styles/bl-tooltip.scss rename to blossom-editor/src/renderer/src/assets/styles/bl-popper.scss index a28083e..5775662 100644 --- a/blossom-editor/src/renderer/src/assets/styles/bl-tooltip.scss +++ b/blossom-editor/src/renderer/src/assets/styles/bl-popper.scss @@ -61,24 +61,28 @@ td { .cell { - border-radius: 0; + width: 44px; + border-radius: 4px; } } .el-year-table { td { + width: auto; padding: 7px 0; } } .el-month-table { td { + width: auto; padding: 1px 0; } } .el-date-table { td { + width: auto; padding: 2px 0; } } diff --git a/blossom-editor/src/renderer/src/assets/styles/index.scss b/blossom-editor/src/renderer/src/assets/styles/index.scss index b834394..6f96b1d 100644 --- a/blossom-editor/src/renderer/src/assets/styles/index.scss +++ b/blossom-editor/src/renderer/src/assets/styles/index.scss @@ -9,7 +9,7 @@ @import './bl-image.scss'; @import './bl-message.scss'; @import './bl-notification.scss'; +@import './bl-popper.scss'; @import './bl-tip.scss'; -@import './bl-tooltip.scss'; @import './bl-tree.scss'; @import '../../views/doc/doc-tree-right-menu.scss'; \ No newline at end of file diff --git a/blossom-web/src/assets/styles/element/popper.scss b/blossom-web/src/assets/styles/element/popper.scss index 2efa86b..96e96ff 100644 --- a/blossom-web/src/assets/styles/element/popper.scss +++ b/blossom-web/src/assets/styles/element/popper.scss @@ -9,47 +9,7 @@ .el-popper.el-picker__popper { // 日期范围选择 .el-date-picker { - // width: 260px; - // .el-date-picker__header { - // margin: 3px 12px; - - // .el-date-picker__header-label { - // font-size: 14px; - // } - // } - .el-picker-panel__content { - // width: 230px; - // margin: 3px 15px; - - // th { - // padding: 0; - // } - - // td { - // .cell { - // border-radius: 0; - // } - // } - - // .el-year-table { - // td { - // padding: 7px 0; - // } - // } - - // .el-month-table { - // td { - // padding: 1px 0; - // } - // } - - // .el-date-table { - // td { - // padding: 2px 0; - // } - // } - .current { .el-date-table-cell__text { border-radius: 4px;