Skip to content

Commit d32b4b1

Browse files
author
fangedShadow
committed
fixing route issue and color issue
1 parent 1acc1b1 commit d32b4b1

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

src/components/EductionPortal/AnalyticsDashboard/InsightsWidget.module.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,11 @@
170170
}
171171

172172
.cardChange.changePositive {
173-
color: #10b981;
173+
color: #10b981 !important;
174174
}
175175

176176
.cardChange.changeNegative {
177-
color: #ef4444;
177+
color: #ef4444 !important;
178178
}
179179

180180
.changeIcon {
@@ -303,17 +303,17 @@
303303
}
304304

305305
.darkPanel .trendPositive {
306-
color: #6ee7b7;
306+
color: #6ee7b7 !important;
307307
font-weight: 600;
308308
}
309309

310310
.trendNegative {
311-
color: #ef4444;
311+
color: #ef4444 !important;
312312
font-weight: 600;
313313
}
314314

315315
.darkPanel .trendNegative {
316-
color: #fca5a5;
316+
color: #fca5a5 !important;
317317
font-weight: 600;
318318
}
319319

src/routes.jsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -787,11 +787,7 @@ export default (
787787
/>
788788
<Route path="/educationportal/login" component={EPLogin} />
789789
<Route path="/educationportal/InsightWidget" component={InsightWidget} />
790-
<EPProtectedRoute
791-
path="/educationportal/lesson-library"
792-
exact
793-
component={BrowseLessonPlan}
794-
/>
790+
<Route path="/educationportal/lesson-library" exact component={BrowseLessonPlan} />
795791
<EPProtectedRoute path="/educationportal/tasks/upload" exact component={WriteTaskUpload} />
796792
<Route path="/educator/groups" exact component={GroupList} />
797793
<EPProtectedRoute

0 commit comments

Comments
 (0)