Skip to content

Commit 0b1fc8d

Browse files
committed
fix(DatePicker): update changes from development
2 parents 36dab5a + cf86dad commit 0b1fc8d

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

src/components/CommunityPortal/CPDashboard.jsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,16 @@ export function CPDashboard() {
297297
/>
298298
{dateError && <p className={styles['date-error-message']}>{dateError}</p>}
299299
</div>
300+
<div className={styles['date-filter-container']}>
301+
<DatePicker
302+
selected={selectedDate}
303+
onChange={date => handleDateChange(date)}
304+
placeholderText="Ending After"
305+
id="ending-after"
306+
className={styles['date-filter']}
307+
/>
308+
{dateError && <p className={styles['date-error-message']}>{dateError}</p>}
309+
</div>
300310
</div>
301311

302312
<div className={styles.filterItem}>

src/components/CommunityPortal/CPDashboard.module.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,10 @@
283283
}
284284

285285
.date-filter {
286+
padding-left: 10px;
286287
margin-top: 15px;
287-
padding: 7px 9px;
288+
padding-top: 0px;
289+
padding-bottom: 0px;
288290
}
289291

290292
.date-filter-container {

0 commit comments

Comments
 (0)