[www] Person card optimized to mobile
This commit is contained in:
1 parent
12e23cee4d
commit
20c6d6b6bb
1 file changed
+13
-1
@@ -1,10 +1,14 @@
|
||||
@import "../variables";
|
||||
|
||||
.PersonCard {
|
||||
--person-card-width: 30%;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
margin: var(--single-margin) 0;
|
||||
|
||||
width: 30%;
|
||||
width: var(--person-card-width);
|
||||
min-width: 15em;
|
||||
max-width: 30em;
|
||||
|
||||
@@ -69,3 +73,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Mobile
|
||||
|
||||
@media (max-width: $mobile-width) {
|
||||
.PersonCard {
|
||||
--person-card-width: 100%;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user