Skip to content

Commit 3cbb87c

Browse files
authored
Fix backend template blog layout setting fields overflow (#35823)
* Scale up mobile break point and add extra grid span * Make label 100% width when stacked * Make fields wider
1 parent 92529d1 commit 3cbb87c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

administrator/templates/atum/scss/blocks/_form.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@
4747
.form-vertical & {
4848
flex-direction: column;
4949
}
50+
}
5051

52+
.stack .control-label {
53+
width: 100%;
5154
}
5255

5356
.spacer {

administrator/templates/atum/scss/blocks/_utilities.scss

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,9 @@
4646
grid-template-columns: repeat(2, 1fr);
4747
}
4848

49-
@include media-breakpoint-up(md) {
49+
@include media-breakpoint-up(xxl) {
5050
--span-3: span 3;
5151
--span-4: span 4;
52-
--span-5: span 4;
53-
54-
grid-template-columns: repeat(4, 1fr);
55-
grid-gap: 1rem 2rem;
56-
}
57-
58-
@include media-breakpoint-up(lg) {
5952
--span-5: span 5;
6053

6154
grid-template-columns: repeat(6, 1fr);
@@ -81,7 +74,11 @@
8174
grid-column: 1 / var(--span-2);
8275

8376
&-inline {
84-
grid-column: var(--span-2);
77+
grid-column: var(--span-1);
78+
79+
@include media-breakpoint-up(xxl) {
80+
grid-column: var(--span-2);
81+
}
8582
}
8683
}
8784

components/com_content/tmpl/category/blog.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
name="multi_column_order"
223223
type="list"
224224
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
225-
parentclass="stack span-1-inline"
225+
parentclass="stack span-2-inline"
226226
useglobal="true"
227227
validate="options"
228228
>

components/com_content/tmpl/featured/default.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
name="multi_column_order"
8181
type="list"
8282
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
83-
parentclass="stack span-1-inline"
83+
parentclass="stack span-2-inline"
8484
useglobal="true"
8585
validate="options"
8686
>

0 commit comments

Comments
 (0)