Skip to content

Commit

Permalink
Update grid-layout
Browse files Browse the repository at this point in the history
- do not use column-gap on handhelds (overflow issue)
- do not use !important for .clr
  • Loading branch information
zoglo committed Apr 9, 2024
1 parent 8524095 commit 84ca874
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
2 changes: 2 additions & 0 deletions core-bundle/contao/themes/flexible/backend.22e1a082.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions core-bundle/contao/themes/flexible/backend.fa94f3d7.css

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion core-bundle/contao/themes/flexible/entrypoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entrypoints": {
"backend": {
"css": [
"/system/themes/flexible/backend.fa94f3d7.css"
"/system/themes/flexible/backend.22e1a082.css"
]
},
"confirm": {
Expand Down
6 changes: 3 additions & 3 deletions core-bundle/contao/themes/flexible/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"backend.css": "/system/themes/flexible/backend.fa94f3d7.css",
"backend.css": "/system/themes/flexible/backend.22e1a082.css",
"confirm.css": "/system/themes/flexible/confirm.c2996dd4.css",
"conflict.css": "/system/themes/flexible/conflict.aa6b9c95.css",
"diff.css": "/system/themes/flexible/diff.171af75f.css",
Expand All @@ -8,7 +8,7 @@
"popup.css": "/system/themes/flexible/popup.4728c2fc.css",
"tinymce.css": "/system/themes/flexible/tinymce.e5009f94.css",
"tinymce-dark.css": "/system/themes/flexible/tinymce-dark.596023db.css",
"backend.fa94f3d7.css.map": "/system/themes/flexible/backend.fa94f3d7.css.map",
"backend.22e1a082.css.map": "/system/themes/flexible/backend.22e1a082.css.map",
"confirm.c2996dd4.css.map": "/system/themes/flexible/confirm.c2996dd4.css.map",
"conflict.aa6b9c95.css.map": "/system/themes/flexible/conflict.aa6b9c95.css.map",
"diff.171af75f.css.map": "/system/themes/flexible/diff.171af75f.css.map",
Expand All @@ -17,4 +17,4 @@
"popup.4728c2fc.css.map": "/system/themes/flexible/popup.4728c2fc.css.map",
"tinymce.e5009f94.css.map": "/system/themes/flexible/tinymce.e5009f94.css.map",
"tinymce-dark.596023db.css.map": "/system/themes/flexible/tinymce-dark.596023db.css.map"
}
}
11 changes: 8 additions & 3 deletions core-bundle/contao/themes/flexible/styles/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,6 @@ fieldset > .widget-group {
.widget-group > .w25 {
grid-column: auto / span 3;
}
.widget-group > .clr {
grid-column-start: 1 !important;
}

.widget {
font-size: 0;
Expand Down Expand Up @@ -1045,6 +1042,10 @@ a.tl_submit {
/* Handheld */
@media (max-width: 767.98px) {

.widget-group {
grid-column-gap: 0;
}

.widget-group > .w25,
.widget-group > .w33,
.widget-group > .w50,
Expand Down Expand Up @@ -1100,3 +1101,7 @@ a.tl_submit {
*:not(.widget-group) > .m12 {
margin: 0 15px;
}

.widget-group > .clr {
grid-column-start: 1;
}

0 comments on commit 84ca874

Please sign in to comment.