Changed some css to work with mobile
This commit is contained in:
parent
1c22825ff8
commit
875685248b
|
|
@ -15,7 +15,7 @@ const Article = ({article}) => {
|
||||||
if (text.slice(i, i+4) === "http"){ // slice from i to 4 chars plus and check for http
|
if (text.slice(i, i+4) === "http"){ // slice from i to 4 chars plus and check for http
|
||||||
let x = i; // store i in x so the location is not modified
|
let x = i; // store i in x so the location is not modified
|
||||||
|
|
||||||
for (i; text[i] != " " && i < text.length; i++){} // iterate until we find the end of the link denoted by a space
|
for (i; text[i] !== " " && i < text.length; i++){} // iterate until we find the end of the link denoted by a space
|
||||||
|
|
||||||
if (output[loc] !== "") { // if the current output location isn't empty, increment loc
|
if (output[loc] !== "") { // if the current output location isn't empty, increment loc
|
||||||
loc++;
|
loc++;
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction:row;
|
flex-direction:row;
|
||||||
align-content:center;
|
align-content:center;
|
||||||
justify-content:flex-start;
|
justify-content:space-evenly;
|
||||||
align-items:center;
|
align-items:center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
width:85vw;
|
width:85vw;
|
||||||
|
|
@ -44,4 +44,10 @@
|
||||||
|
|
||||||
.About .links * {
|
.About .links * {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
.About .links .link img {
|
||||||
|
width: 25vw;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -95,4 +95,11 @@
|
||||||
border-radius: 10rem;
|
border-radius: 10rem;
|
||||||
height: 10rem;
|
height: 10rem;
|
||||||
width: 10rem;
|
width: 10rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
|
||||||
|
.repo .content {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue