Skip to content

Commit

Permalink
style adjustments from jenny feedback and fix yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
August Fu committed Apr 13, 2024
1 parent 0c77b39 commit 3c2e2cb
Show file tree
Hide file tree
Showing 4 changed files with 1,220 additions and 11 deletions.
2 changes: 1 addition & 1 deletion frontend/degree-plan/components/FourYearPlan/Semester.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const SemesterCard = styled.div<{
padding: 1rem;
display: flex;
flex-direction: column;
flex: 1 1 15rem;
flex: 1 1 11rem;
`;

const SemesterHeader = styled.div`
Expand Down
2 changes: 2 additions & 0 deletions frontend/degree-plan/components/FourYearPlan/Stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const getColor = (num: number, reverse: boolean) => {

const ScoreCircle = styled(CircularProgressbar)`
aspect-ratio: 1;
min-width: 1.7rem;
`;

const ScoreLabel = styled.div`
Expand Down Expand Up @@ -58,6 +59,7 @@ const Stack = styled.div`
gap: 1rem .75rem;
justify-items: left;
align-items: center;
`;

type StatsType = "course_quality" | "instructor_quality" | "difficulty" | "work_required";
Expand Down
4 changes: 2 additions & 2 deletions frontend/degree-plan/components/FourYearPlanPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const FourYearPlanPage = ({
maxSize={searchPanelOpen ?
(windowWidth ? windowWidth : 1000) * 0.33
: (windowWidth ? windowWidth : 1000) * 0.66}
minSize="33%"
minSize={(windowWidth ? windowWidth : 400) * 0.20 }
defaultSize="50%"
style={{
padding: "1.5rem",
Expand Down Expand Up @@ -201,7 +201,7 @@ const FourYearPlanPage = ({
/>
</PanelInteriorWrapper>
{searchPanelOpen && (
<PanelInteriorWrapper $minWidth={"40%"} $maxWidth={"45%"}>
<PanelInteriorWrapper $minWidth={"45%"} $maxWidth={"45%"}>
<SearchPanel
activeDegreeplanId={activeDegreeplan ? activeDegreeplan.id : null}
setSearchRuleId={setSearchRuleId}/>
Expand Down
Loading

0 comments on commit 3c2e2cb

Please sign in to comment.