Further adjusted mobile styles
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-10-02 14:40:01 -04:00
parent 97065e8f1c
commit 20277268b5
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
2 changed files with 41 additions and 15 deletions

View File

@ -23,20 +23,12 @@
align-items: center; align-items: center;
} }
@media screen and (max-width: 768px) { .arrow {
.subBox { width: 250px;
flex-direction: column; height: 20px;
}
.subBoxLeft {
flex-direction: column-reverse;
}
.container {
justify-content: center;
}
} }
.item:after { .item:after {
content: ''; content: '';
position: absolute; position: absolute;
@ -66,4 +58,38 @@
.left { .left {
transform: rotate(180deg); transform: rotate(180deg);
}
@media screen and (max-width: 768px) {
.subBox {
flex-direction: column;
align-items: flex-start;
}
.subBoxLeft {
flex-direction: column-reverse;
align-items: flex-end;
}
.item {
font-size: calc(20rem / 16);
margin: 0;
margin-bottom: 10px;
}
.arrow {
width: 200px;
}
}
@media screen and (max-width: 500px) {
.container {
justify-content: center;
gap: 50px;
}
.arrow {
width: 200px;
}
} }

View File

@ -42,9 +42,9 @@ interface ArrowProps {
function Arrow({ isPointRight }: ArrowProps) { function Arrow({ isPointRight }: ArrowProps) {
return ( return (
<svg <svg
width="250px" className={
height="20px" (isPointRight ? styles.right : styles.left) + " " + styles.arrow
className={isPointRight ? styles.right : styles.left} }
> >
<defs> <defs>
<marker <marker