Change How it works step margin logic

This commit is contained in:
Hannu Lyytikainen 2017-11-02 22:43:23 +02:00
parent 6d9a7a3951
commit 9aa8d6e7cd

View file

@ -67,21 +67,15 @@
}
}
.step:nth-of-type(1) {
.step {
@media (--viewportMedium) {
margin-right: 38px;
margin-right: 76px;
}
}
.step:nth-of-type(2) {
.step:last-of-type {
@media (--viewportMedium) {
margin: 0 38px;
}
}
.step:nth-of-type(3) {
@media (--viewportMedium) {
margin-left: 38px;
margin-right: 0;
}
}