Skip to content

Commit 808850a

Browse files
committed
fix: mobile style
1 parent 84c7842 commit 808850a

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/app/sessions/Header/TotalMarks.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { motion } from "framer-motion"
55

66
import { Box, Divider, Skeleton, Stack, Typography } from "@mui/material"
77

8-
import { fetchSession0And1TotalMarksURL, fetchSession2TotalMarksURL } from "@/apis/sessions"
8+
import { fetchSession2TotalMarksURL } from "@/apis/sessions"
99
import QaSvg from "@/assets/svgs/sessions/qa.svg"
1010
import Button from "@/components/Button"
1111
import Link from "@/components/Link"
@@ -73,7 +73,7 @@ const TotalPoints = () => {
7373
}}
7474
>
7575
{session2Loading ? (
76-
<Skeleton sx={{ borderRadius: "1rem", width: "12rem", height: "8rem", display: "inline-block" }}></Skeleton>
76+
<Skeleton sx={{ borderRadius: "1rem", width: "12rem", height: ["4.8rem", "8rem"], display: "inline-block" }}></Skeleton>
7777
) : (
7878
<>{session2Data.marks ? formatLargeNumber(session2Data.marks, 2) : "--"}</>
7979
)}
@@ -106,7 +106,7 @@ const TotalPoints = () => {
106106
}}
107107
>
108108
{session2Loading ? (
109-
<Skeleton sx={{ borderRadius: "1rem", width: "12rem", height: "8rem", display: "inline-block" }}></Skeleton>
109+
<Skeleton sx={{ borderRadius: "1rem", width: "12rem", height: ["4.8rem", "8rem"], display: "inline-block" }}></Skeleton>
110110
) : (
111111
<>{session2Data.boost ? formatLargeNumber(session2Data.boost, 2) + "x" : "--"}</>
112112
)}

src/app/sessions/Header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const Header = () => {
1111
sx={[
1212
{
1313
position: "relative",
14-
height: ["120rem", "75rem", "auto"],
14+
height: ["124rem", "75rem", "auto"],
1515
background: [`url(${MobileHeroBg.src}) bottom / contain no-repeat`, `url(${HeroBg.src}) bottom / contain no-repeat`],
1616
aspectRatio: ["auto", "auto", "16 / 9"],
1717
marginTop: [0, 0, "-6.5rem"],

src/app/sessions/Protocols/protocolList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const LENDING_BORROWING_DATA: ProtocolData = {
9696
tag: "1x Marks",
9797
data: [
9898
{
99-
name: "AAVE",
99+
name: "Aave",
100100
project: "Aave",
101101
logoURL: "https://scroll-eco-list.netlify.app/logos/Aave.svg",
102102
href: "https://app.aave.com/",

src/app/sessions/components/QATooltip/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ const useStyles = makeStyles()(theme => ({
2121
lineHeight: "2.4rem",
2222
borderRadius: "2rem",
2323
width: "28rem",
24+
[theme.breakpoints.down("md")]: {
25+
marginTop: "1.6rem !important",
26+
},
2427
},
2528
}))
2629

0 commit comments

Comments
 (0)