🌀(component): 统一 cascader 与 date-picker 宽度

This commit is contained in:
就眠儀式 2022-07-22 00:25:52 +08:00
parent c739b2bd00
commit a37de78609
2 changed files with 12 additions and 12 deletions

View File

@ -4,10 +4,10 @@
@sm: 32px; @sm: 32px;
@xs: 26px; @xs: 26px;
@lg-width: 300px; @lg-width: 260px;
@md-width: 260px; @md-width: 220px;
@sm-width: 220px; @sm-width: 180px;
@xs-width: 180px; @xs-width: 140px;
.set-size(@size, @width) { .set-size(@size, @width) {
& { & {

View File

@ -5,14 +5,14 @@
@md: 38px; @md: 38px;
@sm: 32px; @sm: 32px;
@xs: 26px; @xs: 26px;
@lg-width: 300px; @lg-width: 260px;
@md-width: 260px; @md-width: 220px;
@sm-width: 220px; @sm-width: 180px;
@xs-width: 180px; @xs-width: 140px;
@lg-range-width: 600px; @lg-range-width: 520px;
@md-range-width: 520px; @md-range-width: 440px;
@sm-range-width: 440px; @sm-range-width: 360px;
@xs-range-width: 360px; @xs-range-width: 280px;
.set-size(@size,@width) { .set-size(@size,@width) {
& { & {