fix: conflict row bug (#130)

* fix: temp fixes, need to still work on it

* fix: im a god at css otl

* fix: handle edge case where they have conflicting classes in their schedule

* fix: got it working

* fix: don't change the font size of course names

* fix: remove unused prop

* fix: lint errs

* fix: remove unused code
This commit is contained in:
Dhruv
2024-03-11 23:41:20 -05:00
committed by GitHub
parent 4c61ebd3fc
commit a8ea3bc683
3 changed files with 36 additions and 34 deletions

View File

@@ -72,16 +72,17 @@
}
.inActiveSchedule {
* {
> *:not(td:last-child) {
color: colors.$turtle_pond !important;
font-weight: bold !important;
}
}
.isConflict {
* {
color: colors.$speedway_brick !important;
font-weight: normal !important;
text-decoration: line-through !important;
// for the edge case where they have conflicting classes in their schedule
.isConflict:not(.inActiveSchedule) {
> *:not(td:last-child) {
color: colors.$speedway_brick;
font-weight: normal;
text-decoration: line-through;
}
}