Skip to content

Commit

Permalink
css: fix style issue, close: ant-design#4415
Browse files Browse the repository at this point in the history
  • Loading branch information
benjycui committed Jan 12, 2017
1 parent c01ee02 commit 97221a6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 27 deletions.
5 changes: 1 addition & 4 deletions components/date-picker/style/Calendar.less
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,8 @@
border-bottom-right-radius: 4px;
}

&-footer {
border-top: 1px solid @border-color-split;
}

&-footer-btn {
border-top: 1px solid @border-color-split;
text-align: center;
display: block;
line-height: 38px;
Expand Down
11 changes: 1 addition & 10 deletions components/date-picker/style/DecadePanel.less
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@
.@{calendar-prefix-cls}-decade-panel-next-century-cell {
.@{calendar-prefix-cls}-decade-panel-decade {
user-select: none;
}
.@{calendar-prefix-cls}-decade-panel-decade:before {
content: "\e61f";
font-family: "anticon" !important;
}
}

.@{calendar-prefix-cls}-decade-panel-last-century-cell {
.@{calendar-prefix-cls}-decade-panel-decade:before {
content: "\e620";
color: @disabled-color;
}
}
3 changes: 2 additions & 1 deletion components/date-picker/style/RangePicker.less
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@
}
}

// `div` for selector specificity
div&-quick-selector {
display: block;
text-align: left;
border-bottom: 1px solid @border-color-split;
border-top: 1px solid @border-color-split;
padding: 10.5px 10px;

> a {
Expand Down
1 change: 0 additions & 1 deletion components/date-picker/style/TimePicker.less
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
}

.@{calendar-prefix-cls}-footer {
border-top: 1px solid @border-color-split;
text-align: right;
position: relative;
height: auto;
Expand Down
11 changes: 1 addition & 10 deletions components/date-picker/style/YearPanel.less
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,6 @@
.@{calendar-prefix-cls}-year-panel-next-decade-cell {
.@{calendar-prefix-cls}-year-panel-year {
user-select: none;
}
.@{calendar-prefix-cls}-year-panel-year:before {
content: "\e61f";
font-family: "anticon" !important;
}
}

.@{calendar-prefix-cls}-year-panel-last-decade-cell {
.@{calendar-prefix-cls}-year-panel-year:before {
content: "\e620";
color: @disabled-color;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"object-assign": "~4.1.0",
"omit.js": "^0.1.0",
"rc-animate": "~2.3.0",
"rc-calendar": "~7.5.1",
"rc-calendar": "~7.6.0",
"rc-cascader": "~0.10.1",
"rc-checkbox": "~1.4.0",
"rc-collapse": "~1.6.4",
Expand Down

0 comments on commit 97221a6

Please sign in to comment.