Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Calendar组件在可多选/可选择日期区间模式下的样式优化 #10440

Closed
34205037 opened this issue Mar 27, 2022 · 1 comment
Milestone

Comments

@34205037
Copy link

34205037 commented Mar 27, 2022

这个功能解决了什么问题?

日期选择具有圆角样式,当多选或区间选择的情况下,上下相邻的选择紧密贴合在一起,此时带有圆角有点不美观。
image
image

你期望的 API 是什么样子的?

两个可能的调整:
加一个margin
image
去除圆角
image

个人感觉,这样看起来是不是更好一点?也或许官方可以有更好的方案。
当然,这在外部可以简单的通过css强行覆盖,只是这种方式显得不那么干净。

@nemo-shen
Copy link
Contributor

嗯,的确是一个样式优化的点
参考了 美团携程 都有类似的 margin

meituan
xiecheng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants