Skip to content

Commit 9b15826

Browse files
fix(calendar): default trigger text alignment (#246)
1 parent 08d46d3 commit 9b15826

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/raystack/v1/components/calendar/calendar.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,3 +251,7 @@
251251
border-radius: inherit;
252252
position: relative;
253253
}
254+
255+
.datePickerInput {
256+
text-align: left;
257+
}

packages/raystack/v1/components/calendar/date-picker.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ export function DatePicker({
154154
state={inputState}
155155
placeholder={placeholder}
156156
onKeyUp={handleKeyUp}
157+
className={styles.datePickerInput}
157158
{...textFieldProps}
158159
/>
159160
);

0 commit comments

Comments
 (0)