Skip to content

Commit

Permalink
promo-crossroad: fix items layout, add wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
vithar committed Feb 26, 2019
1 parent 37d14e1 commit dd15afd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions blocks/promo/promo-crossroad/promo-crossroad.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.promo-crossroad
{
display: flex;
flex-wrap: wrap;
justify-content: space-around;

margin: 0 0 100px;
Expand All @@ -12,13 +13,19 @@
font-size: 18px;
line-height: 1.5;

margin-bottom: 0;
max-width: 220px;
margin: 0 40px 0 0;

text-align: center;

color: #000;
}

.promo-crossroad__item:last-child
{
margin-right: 0;
}

.promo-crossroad__title-link
{
font-size: 24px;
Expand Down Expand Up @@ -78,9 +85,7 @@
{
.promo-crossroad
{

padding: 0 1%;
flex-wrap: wrap;
padding: 0 20px;
}
}

Expand All @@ -94,7 +99,7 @@

.promo-crossroad__item
{
margin-top: 50px;
margin-top: 30px;
}

.promo-crossroad__title-link
Expand Down

0 comments on commit dd15afd

Please sign in to comment.