File tree Expand file tree Collapse file tree
src/components/TotalOrgSummary/VolunteerTrendsLineChart Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ export default function VolunteerTrendsLineChart({ darkMode }) {
202202
203203 return (
204204 < div className = "chart-container" >
205- { /* DATE FILTER */ }
205+ { /* DATE FILTERS */ }
206206 < div className = "date-filter-container" >
207207 < select name = "timeframe-filter" id = "timeframe-filter" onChange = { setTimeframeFilter } >
208208 < option value = "years1" > This year</ option >
Original file line number Diff line number Diff line change 1- select {
2- width : 200px ;
3- justify-self : center;
4- margin-top : 15px ;
5- }
6-
71.date-picker-container {
82 position : relative;
93}
@@ -21,6 +15,7 @@ select {
2115 text-align : center;
2216 padding : 10px ;
2317 position : relative;
18+ margin-top : 15px ;
2419}
2520
2621.custom-date-range {
@@ -31,6 +26,18 @@ select {
3126 font-weight : bold;
3227}
3328
29+ .date-filter-container {
30+ display : flex;
31+ gap : 10px ;
32+ align-items : center;
33+ justify-content : center;
34+ }
35+
36+ .date-filter-container > select {
37+ margin-top : 0 ;
38+ width : min-content
39+ }
40+
3441@media (max-width : 500px ) {
3542 .chart-container {
3643 justify-content : start;
You can’t perform that action at this time.
0 commit comments