Skip to content

Commit b9dcebd

Browse files
committed
fix: visual issues
1 parent dcd24e6 commit b9dcebd

2 files changed

Lines changed: 27 additions & 4 deletions

File tree

src/components/BMDashboard/Issues/issueChart.module.css

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@
6161
}
6262

6363
/* Labels */
64-
.dateLabel {
64+
.dateLabelLight {
6565
font-size: 14px;
6666
font-weight: 500;
6767
color: #333;
6868
}
6969

70-
.dark .dateLabel {
70+
.dateLabelDark {
71+
font-size: 14px;
72+
font-weight: 500;
7173
color: #cfd7e3;
7274
}
7375

@@ -96,8 +98,14 @@
9698
width: 100%;
9799
}
98100

101+
:global(.react-datepicker__close-icon::after) {
102+
background: none;
103+
color: #b9b9b9;
104+
font-size: 18px;
105+
}
106+
99107
.selectDark {
100-
color: #cfd7e3;
108+
color: #142032;
101109
}
102110

103111
/* No data text */
@@ -116,6 +124,13 @@
116124
font-size: 16px;
117125
}
118126

127+
.rowLabel {
128+
margin: 8px 0 8px;
129+
font-weight: 600;
130+
font-size: 16px;
131+
}
132+
133+
119134
/* Responsive */
120135
@media (max-width: 650px) {
121136
.dateRow {

src/components/BMDashboard/Issues/openIssueCharts.jsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,18 @@ function IssueCharts() {
101101
<h2 className={darkMode ? styles.titleDark : styles.title}>Longest Open Issues</h2>
102102

103103
<div className={styles.filterCenterWrapper}>
104+
{/* Label: Date */}
105+
<div className={styles.rowLabel}>Date</div>
106+
104107
{/* Row 1: Date picker */}
105108
<div className={styles.dateRow}>
106-
<span className={styles.dateLabel}>From</span>
109+
<span className={darkMode ? styles.dateLabelDark : styles.dateLabelLight}>From</span>
107110
<div className={styles.dateField}>
108111
<DatePicker
109112
selected={startDate}
110113
onChange={date => setStartDate(date)}
111114
placeholderText="Start Date"
115+
isClearable
112116
className={darkMode ? styles.dateDark : styles.dateLight}
113117
/>
114118
</div>
@@ -118,11 +122,15 @@ function IssueCharts() {
118122
selected={endDate}
119123
onChange={date => setEndDate(date)}
120124
placeholderText="End Date"
125+
isClearable
121126
className={darkMode ? styles.dateDark : styles.dateLight}
122127
/>
123128
</div>
124129
</div>
125130

131+
{/* Label: Project */}
132+
<div className={styles.rowLabel}>Project</div>
133+
126134
{/* Row 2: Project selector */}
127135
<div className={styles.projectRow}>
128136
<Select

0 commit comments

Comments
 (0)