Add three-column newsletter form variant
This commit is contained in:
@@ -48,6 +48,11 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.sg-card--call-to-action-card--three-column {
|
||||
--layout-call-to-action-card-width: var(--dimension-public-content-width);
|
||||
--layout-call-to-action-card-content-columns: minmax(0, 1fr) minmax(0, 1fr) max-content;
|
||||
}
|
||||
|
||||
.sg-card--call-to-action-card .sg-card-segment--body {
|
||||
display: grid;
|
||||
grid-template-columns: var(--layout-call-to-action-card-content-columns);
|
||||
@@ -69,6 +74,16 @@
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.sg-card--call-to-action-card--three-column .sg-labeled-input-row {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.sg-card--call-to-action-card--three-column .sg-input-single-line {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.sg-call-to-action-card--align-right {
|
||||
margin-left: auto;
|
||||
}
|
||||
@@ -92,4 +107,12 @@
|
||||
.sg-card--call-to-action-card {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sg-card--call-to-action-card--three-column {
|
||||
--layout-call-to-action-card-content-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.sg-card--call-to-action-card--three-column .sg-call-to-action-card__action {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user