Closed Youyou-smiles closed 3 weeks ago
The changes in this pull request primarily involve modifications to the styling and layout of various date picker components across multiple Vue files. The width of the .demo-date-picker-wrap
class is adjusted in several instances, affecting the presentation of the date pickers. Additionally, new CSS variables and style rules are introduced for improved visual representation in related components. Overall, the functionality of the date pickers remains unchanged, with no alterations to the underlying logic or event handling.
File Path | Change Summary |
---|---|
examples/sites/demos/pc/app/date-picker/align-composition-api.vue , examples/sites/demos/pc/app/date-picker/align.vue |
Modified .demo-date-picker-wrap width from 350px to 280px . Template structure remains unchanged. |
examples/sites/demos/pc/app/date-picker/date-range-composition-api.vue , examples/sites/demos/pc/app/date-picker/date-range.vue |
Added CSS rule setting .demo-date-picker-wrap width to 360px . Template structure unchanged. |
examples/sites/demos/pc/app/date-picker/events-composition-api.vue , examples/sites/demos/pc/app/date-picker/events.vue |
Reduced tiny-col span for onPick date picker from 12 to 6 , affecting layout but not functionality. |
examples/sites/demos/pc/app/date-picker/now-composition-api.vue , examples/sites/demos/pc/app/date-picker/now.vue |
Replaced inline width styles with class-based styles for width set to 280px . No changes to script logic. |
examples/sites/demos/pc/app/date-picker/timezone-composition-api.vue |
Introduced new CSS class .demo-date-picker-wrap with width of 280px . No changes to functionality. |
packages/theme/src/date-table/index.less |
Added style rule for .selected.in-range to set background color for selected date ranges. |
packages/theme/src/month-table/index.less |
Updated .disabled class color and hover background properties. |
packages/theme/src/month-table/vars.less |
Added new CSS variable --tv-MonthTable-cell-color-disabled for disabled cell text color. |
.demo-date-picker-wrap
class width, which is directly related to the changes made in the main PR that also modifies the same class width from 350px
to 280px
.bug
🐇 In the fields where the date pickers play,
A width adjustment brightens the day.
With colors and styles, we dance and we cheer,
For a layout that's lovely, we hold dear.
From left to right, they align just so,
In our little demo, watch the beauty grow! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Styling Changes