diff --git a/client/src/modules/Course/Components/Gauges.tsx b/client/src/modules/Course/Components/Gauges.tsx index ab9f6c85..85e592de 100644 --- a/client/src/modules/Course/Components/Gauges.tsx +++ b/client/src/modules/Course/Components/Gauges.tsx @@ -157,12 +157,14 @@ const Gauges = ({overall, difficulty, workload}: GaugesProps) => { /> })} -
{difficulty ? difficulty.toPrecision(2) : "-"}
- {difficultyHover} +
+
{difficulty ? difficulty.toPrecision(2) : "-"}
+ {difficultyHover} +
Workload
@@ -174,12 +176,14 @@ const Gauges = ({overall, difficulty, workload}: GaugesProps) => { /> })}
-
{workload ? workload.toPrecision(2) : "-"}
- {workloadHover} +
+
{workload ? workload.toPrecision(2) : "-"}
+ {workloadHover} +
diff --git a/client/src/modules/Course/Styles/Gauges.module.css b/client/src/modules/Course/Styles/Gauges.module.css index 318a30e3..b00066db 100644 --- a/client/src/modules/Course/Styles/Gauges.module.css +++ b/client/src/modules/Course/Styles/Gauges.module.css @@ -92,9 +92,16 @@ font-weight: 590; } -@media only screen and (max-width: 1216px) { +.responsiveLabel { + display: flex; + flex-direction: row; + gap: 14px; +} + +@media only screen and (max-width: 1124px) { .container { - gap: 24px; + gap: 12px; + flex-direction: column; } .overallScore { @@ -128,6 +135,7 @@ .horizontal { gap: 6px; + flex-direction: column; } .ratingNum { @@ -135,6 +143,11 @@ font-weight: 590; } + .ratings { + height: auto; + gap: 12px; + } + .bars { display: flex; flex-flow: row nowrap; @@ -146,4 +159,10 @@ .bar { width: 30px; } + + .responsiveLabel { + display: flex; + flex-flow: row nowrap; + gap: 10px; + } } \ No newline at end of file