Skip to content

Commit 186ef38

Browse files
committed
fix(html): update DateTimePicker container class and adaptive buttons classes
1 parent fc71db8 commit 186ef38

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/html/src/datetimepicker/datetimepicker.spec.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const DateTimePicker = (
132132
/>
133133
</Input>
134134
{ opened &&
135-
<Popup className={`k-${tab === "time" ? "list" : "calendar"}-container k-datetimepicker-popup`} dir={dir}>
135+
<Popup className="k-datetime-container k-datetimepicker-popup" dir={dir}>
136136
<DateTimeSelector tab={tab} dir={dir} />
137137
</Popup>
138138
}
@@ -146,7 +146,10 @@ export const DateTimePicker = (
146146

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

149-
<ActionSheetFooter actions={[ 'Cancel', '!Set' ]} />
149+
<ActionSheetFooter>
150+
<Button text="Set" size="large" themeColor="primary" className="k-time-accept" />
151+
<Button text="Cancel" size="large" themeColor="base" className="k-time-cancel" />
152+
</ActionSheetFooter>
150153
</ActionSheet>
151154
}
152155
</>

0 commit comments

Comments
 (0)