fixed bug on mobile where skill cards are laid horizontally instead of vertically.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ const Home = ({ image, skills }) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="skill-cards">
|
<div id="skill-cards">
|
||||||
<div className="center-row">
|
<div className="center-row" id="skill-cards-colrow">
|
||||||
<SkillCard
|
<SkillCard
|
||||||
header="Languages"
|
header="Languages"
|
||||||
symbol="code"
|
symbol="code"
|
||||||
|
|||||||
+1
-11
@@ -270,13 +270,6 @@ li {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#card-grid {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**SKILL CARDS**/
|
/**SKILL CARDS**/
|
||||||
.card {
|
.card {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -950,11 +943,8 @@ li {
|
|||||||
margin-left: 5vw;
|
margin-left: 5vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
#card-grid {
|
#skill-cards-colrow {
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
|||||||
Reference in New Issue
Block a user