Skip to content

Commit

Permalink
order
Browse files Browse the repository at this point in the history
  • Loading branch information
webjsavella committed Dec 23, 2024
1 parent 893ad30 commit fde3c97
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eds/blocks/columns/columns.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
.columns > div {
display: flex;
}

.columns > div:has(div > :is(h2, p)) {
flex-direction: column-reverse;
}

.columns > div:has(div:nth-of-type(1) > :is(h2, p)) {
flex-direction: column;
}

Expand Down Expand Up @@ -29,6 +36,9 @@
@media (width >= 900px) {
.columns > div {
align-items: center;
}

.columns > div:has(div > :is(h2, p), div:nth-of-type(1) > :is(h2, p)) {
flex-direction: row;
}

Expand Down

0 comments on commit fde3c97

Please sign in to comment.