Skip to content

Commit

Permalink
fix: 修复 DatePicker 组件 align 属性失效的问题 (#799)
Browse files Browse the repository at this point in the history
* fix: 修复 DatePicker 组件 align 属性失效的问题

---------

Co-authored-by: 颜宇浩 <[email protected]>
  • Loading branch information
KMS-Bismarck and 颜宇浩 committed Nov 15, 2024
1 parent 72eac6b commit 22a1fc2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sheinx",
"private": true,
"version": "3.5.1-beta.4",
"version": "3.5.1-beta.5",
"description": "A react library developed with sheinx",
"module": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
9 changes: 4 additions & 5 deletions packages/shineout-style/src/date-picker/date-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,17 @@ const datePickerStyle: JsStyles<DatePickerClassType> = {
textAlign: 'left',
},
resultAlignLeft: {
'& $resultTextWrapper': {
'& $resultTextWrapper input': {
textAlign: 'left',
},
},
resultAlignRight: {
'& $resultTextWrapper': {
'& $resultTextWrapper input': {
textAlign: 'right',
},
},
resultAlignCenter: {
'& $resultTextWrapper': {
'& $resultTextWrapper input': {
textAlign: 'center',
},
},
Expand Down Expand Up @@ -362,8 +362,7 @@ const datePickerStyle: JsStyles<DatePickerClassType> = {
textAlign: 'right',
padding: `${token.datePickerPanelFooterPaddingY} ${token.datePickerPanelFooterPaddingX}`,
},
pickerRange: {
},
pickerRange: {},
pickerRangeBody: {
display: 'flex',
},
Expand Down
7 changes: 7 additions & 0 deletions packages/shineout/src/date-picker/__doc__/changelog.cn.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 3.5.1-beta.5
2024-11-13

### 🐞 BugFix

- 修复 `DatePicker` 组件 `align` 属性失效的问题 ([#799](https://github.com/sheinsight/shineout-next/pull/799))

## 3.4.6
2024-11-05

Expand Down

0 comments on commit 22a1fc2

Please sign in to comment.