Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthes committed Oct 11, 2023
1 parent ff745ab commit 7dc69e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions sections/sec-card-2col/sec-card-2col.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
}


&.mobile.text-first {
.row > .tjs__sec-card-2col--col-start {
order: 1;
}
}

.row > .tjs__sec-card-2col--col-start {
order: 99;
}
Expand Down
2 changes: 1 addition & 1 deletion sections/sec-card-2col/sec-card-2col.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Joda.registerTemplate(
// language=HTML
`
<section class="tjs__sec-card-2col :: mobile :lg: desktop">
<section class="tjs__sec-card-2col [[layout.class]] :: mobile :lg: desktop">
<div class="tjs__sec-card-2col--container [[layout.container]]">
<div class="row [[layout.order === 'reverse' ? 'flex-row-reverse': '']] [[layout.mobile_reverse === 'yes' ? ':: flex-row-reverse :lg:': '']]">
<div class="tjs__sec-card-2col--col-start tjs__section-text p-4 p-lg-5 :: col-12 :lg: col-[[layout.cols]]">
Expand Down

0 comments on commit 7dc69e8

Please sign in to comment.