Skip to content

Commit

Permalink
fix(data-picker):make n-date-panel-date fill all area of all demos
Browse files Browse the repository at this point in the history
  • Loading branch information
whale2002 committed Mar 7, 2022
1 parent 8302dad commit 67ec0bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/date-picker/src/panel/daterange.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export default defineComponent({
onClick={() => this.handleDateClick(dateItem)}
onMouseenter={() => this.handleDateMouseEnter(dateItem)}
>
<div class={`${mergedClsPrefix}-date-panel-date__trigger`} />
{dateItem.dateObject.date}
{dateItem.isCurrentDate ? (
<div class={`${mergedClsPrefix}-date-panel-date__sup`} />
Expand Down
1 change: 1 addition & 0 deletions src/date-picker/src/panel/datetime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export default defineComponent({
]}
onClick={() => this.handleDateClick(dateItem)}
>
<div class={`${mergedClsPrefix}-date-panel-date__trigger`} />
{dateItem.dateObject.date}
{dateItem.isCurrentDate ? (
<div class={`${mergedClsPrefix}-date-panel-date__sup`} />
Expand Down
2 changes: 2 additions & 0 deletions src/date-picker/src/panel/datetimerange.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export default defineComponent({
onClick={() => this.handleDateClick(dateItem)}
onMouseenter={() => this.handleDateMouseEnter(dateItem)}
>
<div class={`${mergedClsPrefix}-date-panel-date__trigger`} />
{dateItem.dateObject.date}
{dateItem.isCurrentDate ? (
<div class={`${mergedClsPrefix}-date-panel-date__sup`} />
Expand Down Expand Up @@ -262,6 +263,7 @@ export default defineComponent({
onClick={() => this.handleDateClick(dateItem)}
onMouseenter={() => this.handleDateMouseEnter(dateItem)}
>
<div class={`${mergedClsPrefix}-date-panel-date__trigger`} />
{dateItem.dateObject.date}
{dateItem.isCurrentDate ? (
<div class={`${mergedClsPrefix}-date-panel-date__sup`} />
Expand Down

0 comments on commit 67ec0bf

Please sign in to comment.