Skip to content

Commit

Permalink
about me.tsx optimizations for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhutchen committed Jan 6, 2024
1 parent 51194eb commit 0fbb33c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/pages/aboutme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const About: React.FC<AboutProps> = (props) => {
)}

<fieldset>
<p style={{ color: 'cornsilk', fontSize: "2.1vh", fontFamily: "Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif", fontWeight: 350 }}>
<p style={{ color: 'cornsilk', fontSize: "2svh", fontFamily: "Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif", fontWeight: 350 }}>
<b className="legend">{data.desc}</b>
</p>
<button type="button" className="prev-slick" onClick={() => slider?.current?.slickPrev()}>
Expand Down
5 changes: 3 additions & 2 deletions src/css/QUERIES.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ border-radius: calc(400 / 2)em;
/* Default styles */
@media not all and (max-device-width: 767px) {
#name {
font-size: 2.5em;
font-size: 2.4em;
}
.sc p {
font-size: 1.2em;
font-size: 1.25em;
}
.sc img,
.sc video {
height: 55vh;
margin: 0 auto;
max-width: 60svh;
max-height: 100%;
border-radius: calc(400 / 2)em;
border: 0.26dvh solid #0BA ;
}
Expand Down

0 comments on commit 0fbb33c

Please sign in to comment.