Add stacked mobile text layout pattern
This commit is contained in:
@@ -40,6 +40,11 @@
|
||||
column-gap: var(--layout-text-layout-column-gap);
|
||||
}
|
||||
|
||||
.sg-text-layout-pattern__two-column--stacked-mobile {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.sg-text-layout-pattern__three-column-distributed {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
@@ -73,7 +78,13 @@
|
||||
.sg-text-layout-pattern__sample--sixty-width,
|
||||
.sg-text-layout-pattern__sample--two-column,
|
||||
.sg-text-layout-pattern__two-column,
|
||||
.sg-text-layout-pattern__two-column--stacked-mobile,
|
||||
.sg-text-layout-pattern__three-column-distributed {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sg-text-layout-pattern__two-column--stacked-mobile {
|
||||
grid-template-columns: 1fr;
|
||||
row-gap: var(--layout-text-layout-column-gap);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user