fix: RangePicker align active-bar with small size (#27673)

* fix: RangePicker align active-bar with small size

* fix: RangePicker align active-bar with small size on RTL
This commit is contained in:
fish yu 2020-11-10 14:58:23 +08:00 committed by GitHub
parent d0a7f3f79a
commit e5319bd1df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -209,6 +209,10 @@
.@{picker-prefix-cls}-clear {
right: @input-padding-horizontal-sm;
}
.@{picker-prefix-cls}-active-bar {
margin-left: @input-padding-horizontal-sm;
}
}
}

View File

@ -60,6 +60,14 @@
margin-left: 0;
}
}
&.@{picker-prefix-cls}-small {
.@{picker-prefix-cls}-active-bar {
.@{picker-prefix-cls}-rtl& {
margin-right: @input-padding-horizontal-sm;
}
}
}
}
// ======================== Ranges ========================