File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export function CPDashboard() {
100100 </ div >
101101 </ header >
102102
103- < Row >
103+ < Row className = { styles [ 'dashboard-content' ] } >
104104 < Col md = { 3 } className = { styles [ 'dashboard-sidebar' ] } >
105105 < div className = { styles [ 'filter-section' ] } >
106106 < h4 > Search Filters</ h4 >
Original file line number Diff line number Diff line change 2525 box-shadow : 0 3px 10px rgba (0 , 0 , 0 , 0.1 );
2626}
2727
28- .dashboard-controls {
29- display : flex;
30- align-items : center;
28+ .dashboard-content {
29+ width : 100% ;
30+ padding-left : 20px ;
31+ margin : 0 ;
3132}
3233
3334.dashboard-search {
9697/* blue circular search button inside the bar */
9798.dashboard-search-icon-btn {
9899 position : absolute;
99- right : 4 px ;
100+ right : 1 px ;
100101 top : 50% ;
101102 transform : translateY (-50% );
102103 width : 34px ;
129130}
130131
131132.dashboard-sidebar {
132- padding : 30px ;
133- background : # f9f9f9 ;
133+ padding : 20px ;
134+ display : flex;
135+ justify-content : flex-start;
136+ background : # ffffff ;
134137 border-radius : 12px ;
135138 box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.1 );
136139}
142145 font-weight : 600 ;
143146}
144147
145- .filter-item input ,
148+ .filter-item input : not ([ type = "checkbox" ]) : not ([ type = "radio" ]) ,
146149.filter-item select {
147150 padding : 12px 15px ;
148151 margin-top : 10px ;
149- border : 1px solid # ddd ;
150152 border-radius : 8px ;
151153 width : 100% ;
154+ height : auto;
152155 font-size : 1rem ;
153156 background : # ffffff ;
154157 transition : all 0.3s ease;
155158}
156159
160+ .filter-item input [type = "radio" ],
161+ .filter-item input [type = "checkbox" ] {
162+ display : inline-block; /* <– keeps input on same line as text */
163+ width : auto;
164+ padding : 0 ;
165+ margin : 5px 0px 0px 120px ; /* top margin to line up under "Dates" */
166+ vertical-align : middle;
167+ }
168+
157169.filter-item input : focus ,
158170.filter-item select : focus {
159171 border-color : # 2c3e50 ;
162174}
163175
164176.dashboard-main {
177+ width : 65% ;
165178 padding : 30px ;
166179 background : # ffffff ;
167180 border-radius : 12px ;
You can’t perform that action at this time.
0 commit comments