Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Jan 17, 2024
1 parent 53d364f commit e52bd58
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ class SectionCodeSearchBar extends PureComponent {
}

getSectionCode() {
return RightPaneStore.getUrlCourseCodeValue()
? this.updateCourseCodeAndGetFormData()
: RightPaneStore.getFormData().sectionCode;
return RightPaneStore.getUrlCourseCodeValue()
? this.updateCourseCodeAndGetFormData()
: RightPaneStore.getFormData().sectionCode;
}

state = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ class TermSelector extends PureComponent<TermSelectorProps> {
}

getTerm() {
return RightPaneStore.getUrlTermValue()
? this.updateTermAndGetFormData()
: RightPaneStore.getFormData().term
return RightPaneStore.getUrlTermValue() ? this.updateTermAndGetFormData() : RightPaneStore.getFormData().term;
}

state = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
:root {
--grey-light-theme: #8d8d8d;
--background-grey-light-theme: #e0e0e0;
}
}

.dependency-list-branch {
margin: auto;
}


.prereq-tree {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -72,7 +71,6 @@
height: 1px;
}


.course-node {
margin: auto 1rem auto 0;
}
Expand All @@ -85,7 +83,6 @@
margin-right: 0;
}


.dependency-node:first-child:last-child::after {
height: 0 !important;
}
Expand Down Expand Up @@ -194,10 +191,10 @@
}

.course {
border-radius: 3px;
font-size: .8rem;
font-weight: 500;
padding: 0.35rem;
border-radius: 3px;
font-size: 0.8rem;
font-weight: 500;
padding: 0.35rem;
}

.missing-tree {
Expand All @@ -209,4 +206,4 @@
/* Styling that targets the Popover component (not sure why it can't be done inline)*/
.MuiPopover-paper {
overflow-x: auto;
}
}

0 comments on commit e52bd58

Please sign in to comment.