Skip to content

Commit bb0c566

Browse files
committed
fix: fix spacing for date-picker
1 parent 10fd7ea commit bb0c566

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "dls-tooling",
2+
"name": "light-dls",
33
"version": "0.0.0",
4-
"description": "Tools for Baidu DLS.",
4+
"description": "Tooling for Baidu Light DLS.",
55
"main": "dist/index.js",
66
"scripts": {
77
"install": "lerna bootstrap",

packages/less-plugin-dls/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
> ⚠️ - Breaking Changes
22
3+
## 1.0.0-beta.2
4+
5+
- Add Cascader variables.
6+
- Fix spacing for DatePicker.
7+
38
## 1.0.0-beta.1
49

510
- Roll back interpolation check for `dls check` as it's non-trivial to make compilation always work and also very time consuming.

packages/less-plugin-dls/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "less-plugin-dls",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.2",
44
"description": "Less plugin for Baidu Light DLS.",
55
"main": "dist/index.js",
66
"scripts": {

packages/less-plugin-dls/test/specs/date-picker/date-picker.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ div {
1818
-dls-date-picker-header-padding-y: 8px;
1919
-dls-date-picker-header-pagination-spacing: 12px;
2020
-dls-date-picker-header-icon-aux-spacing: 8px;
21-
-dls-date-picker-day-body-padding-top: 8px;
22-
-dls-date-picker-day-body-padding-bottom: 16px;
21+
-dls-date-picker-day-body-padding-top: 4px;
22+
-dls-date-picker-day-body-padding-bottom: 12px;
2323
-dls-date-picker-weekdays-spacing-after: 12px;
2424
-dls-date-picker-month-body-padding-top: 24px;
2525
-dls-date-picker-year-body-padding-top: 24px;

packages/less-plugin-dls/tokens/components/date-picker.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
* DatePicker body,
6464
* including weekdays, day/month/year body
6565
*/
66-
@dls-date-picker-day-body-padding-top: @dls-padding-unit * 2;
67-
@dls-date-picker-day-body-padding-bottom: @dls-padding-unit * 4;
66+
@dls-date-picker-day-body-padding-top: @dls-padding-unit * 1;
67+
@dls-date-picker-day-body-padding-bottom: @dls-padding-unit * 3;
6868
@dls-date-picker-weekdays-spacing-after: @dls-padding-unit * 3;
6969
@dls-date-picker-month-body-padding-top: @dls-padding-unit * 6;
7070
@dls-date-picker-year-body-padding-top: @dls-padding-unit * 6;

0 commit comments

Comments
 (0)