generated from cms/tibi-docs
This commit is contained in:
parent
e4b6334d85
commit
8e3abd56c1
@ -51,6 +51,12 @@ subFields:
|
|||||||
label: Zeile normal umbrechen
|
label: Zeile normal umbrechen
|
||||||
helperText: "Ist dies aktiviert, so wird die Zeile normal und nicht reverse umgebrochen."
|
helperText: "Ist dies aktiviert, so wird die Zeile normal und nicht reverse umgebrochen."
|
||||||
|
|
||||||
|
- name: twoToThree
|
||||||
|
type: boolean
|
||||||
|
meta:
|
||||||
|
label: Zwei zu drei
|
||||||
|
helperText: "Ist dies aktiviert, so wird die Zeile in zwei zu drei Spalten aufgeteilt."
|
||||||
|
|
||||||
- name: columns
|
- name: columns
|
||||||
type: object[]
|
type: object[]
|
||||||
meta:
|
meta:
|
||||||
|
@ -66,6 +66,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<div
|
<div
|
||||||
class="row"
|
class="row"
|
||||||
|
class:twoToThree="{row.twoToThree}"
|
||||||
class:normalWrap="{row.flexWrapNormal}"
|
class:normalWrap="{row.flexWrapNormal}"
|
||||||
class:dominant="{row.columns.some((col) => col.contentType == 'iconCycleCircle')}"
|
class:dominant="{row.columns.some((col) => col.contentType == 'iconCycleCircle')}"
|
||||||
>
|
>
|
||||||
@ -171,6 +172,14 @@
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
|
&.towToThree {
|
||||||
|
.col:nth-child(1) {
|
||||||
|
flex: 2;
|
||||||
|
}
|
||||||
|
.col:nth-child(2) {
|
||||||
|
flex: 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
&.dominant {
|
&.dominant {
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
|
Loading…
Reference in New Issue
Block a user