Skip to content

Commit

Permalink
comment resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkyapandetekdi committed Aug 27, 2024
1 parent fe0b08d commit 455ca24
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/views/Practice/Practice.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,6 @@ const Practice = () => {
return str2.length - str1.length;
});

let fontSize =
questions[currentQuestion]?.contentType?.toLowerCase() === "paragraph"
? 30
: 40;
let type = currentContentType?.toLowerCase();
if (type === "char" || type === "word") {
const word = splitGraphemes(words[0].toLowerCase()).filter(
Expand All @@ -595,7 +591,7 @@ const Practice = () => {
variant="h5"
component="h4"
sx={{
fontSize: `${fontSize}px`,
fontSize: "clamp(1.6rem, 2.5vw, 3.8rem)",
fontWeight: 700,
fontFamily: "Quicksand",
lineHeight: "50px",
Expand All @@ -619,7 +615,7 @@ const Practice = () => {
component="h4"
sx={{
color: "#333F61",
fontSize: `${fontSize}px`,
fontSize: "clamp(1.6rem, 2.5vw, 3.8rem)",
fontWeight: 700,
fontFamily: "Quicksand",
lineHeight: "50px",
Expand All @@ -645,7 +641,7 @@ const Practice = () => {
component="h4"
ml={1}
sx={{
fontSize: `${fontSize}px`,
fontSize: "clamp(1.6rem, 2.5vw, 3.8rem)",
fontWeight: 700,
fontFamily: "Quicksand",
lineHeight: "50px",
Expand All @@ -664,7 +660,7 @@ const Practice = () => {
ml={1}
sx={{
color: "#333F61",
fontSize: `${fontSize}px`,
fontSize: "clamp(1.6rem, 2.5vw, 3.8rem)",
fontWeight: 700,
fontFamily: "Quicksand",
lineHeight: "50px",
Expand Down

0 comments on commit 455ca24

Please sign in to comment.