Skip to content

Commit

Permalink
Consider more classes for backwards compatibility
Browse files Browse the repository at this point in the history
- Also sort BC css
  • Loading branch information
zoglo committed May 10, 2024
1 parent 1ec3509 commit 5c0d886
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions core-bundle/contao/themes/flexible/styles/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -956,26 +956,10 @@ a.tl_submit {
--widget-cols: 6;
}

/* Backwards compatibility */
*:not(.widget-group) > .w50 {
width: calc(50% - 30px);
float: left;
min-height: 80px;
}

.m12 {
margin: 0 15px;
padding: 18px 0 16px;
}

.cbx {
min-height: 46px;
}

.cbx.m12 {
min-height: 80px;
}

.tip {
max-width: 320px;
}
Expand All @@ -984,6 +968,25 @@ a.tl_submit {
margin-top: 0;
margin-bottom: 0;
}

/* Backwards compatibility */
*:not(.widget-group) > .m12 {
margin: 0 15px;
}

*:not(.widget-group) > .w50 {
width: calc(50% - 30px);
float: left;
min-height: 80px;
}

*:not(.widget-group) > .cbx {
min-height: 46px;
}

*:not(.widget-group) > .cbx.m12 {
min-height: 80px;
}
}

/* Large screens */
Expand Down

0 comments on commit 5c0d886

Please sign in to comment.