Skip to content

Commit

Permalink
fix(html): update DateTimePicker container class and adaptive buttons…
Browse files Browse the repository at this point in the history
… classes
  • Loading branch information
TeyaVes committed Nov 21, 2024
1 parent 69c2007 commit 42e7ef3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/html/src/datetimepicker/datetimepicker.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const DateTimePicker = (
/>
</Input>
{ opened &&
<Popup className={`k-${tab === "time" ? "list" : "calendar"}-container k-datetimepicker-popup`} dir={dir}>
<Popup className="k-datetime-container k-datetimepicker-popup" dir={dir}>
<DateTimeSelector tab={tab} dir={dir} />
</Popup>
}
Expand All @@ -146,7 +146,10 @@ export const DateTimePicker = (

<DateTimeSelector size="large" tab={tab} actionButtons={false} />

<ActionSheetFooter actions={[ 'Cancel', '!Set' ]} />
<ActionSheetFooter>
<Button text="Set" size="large" themeColor="primary" className="k-time-accept" />
<Button text="Cancel" size="large" themeColor="base" className="k-time-cancel" />
</ActionSheetFooter>
</ActionSheet>
}
</>
Expand Down

0 comments on commit 42e7ef3

Please sign in to comment.