[www] Person card optimized to mobile

This commit is contained in:
Roman Timashev committed 2017-10-28 15:53:13 +03:00
1 parent 12e23cee4d
commit 20c6d6b6bb
1 file changed
+13 -1
+13 -1
View File
@@ -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%;
}
}