Skip to content

Commit

Permalink
#41 Set order of items for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
tdziezykDS committed Sep 6, 2023
1 parent b05d3a2 commit 3a9372e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions blocks/v2-columns/v2-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@
max-width: 343px;
}

.v2-columns__column--with-image {
order: 0;
}

.v2-columns__column--with-image img {
display: block;
}

.v2-columns__column--with-text {
order: 1;
display: flex;
flex-direction: column;
padding: 40px 0;
Expand Down Expand Up @@ -65,6 +70,7 @@
flex-direction: column;
width: 100%;
padding: 0;
order: unset;
}

.v2-columns__column--with-text .v2-columns__heading {
Expand Down

0 comments on commit 3a9372e

Please sign in to comment.