Place public page pattern heading above columns
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<div class="sg-preview-area">
|
||||
<div class="sg-content-group-box" data-component="content-group-box">
|
||||
<div class="sg-public-page-pattern-text-and-picture-right" data-pattern="text-and-picture-right">
|
||||
<h2 class="sg-heading-h2">Überschrift</h2>
|
||||
<h2 class="sg-heading-h2">H2 Überschrift</h2>
|
||||
|
||||
<div class="sg-public-page-pattern-text-and-picture-right__text">
|
||||
<p class="sg-body">
|
||||
|
||||
@@ -16,14 +16,16 @@
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
grid-template-columns: var(--layout-public-page-pattern-text-picture-columns);
|
||||
grid-template-areas: "text picture";
|
||||
grid-template-areas:
|
||||
"heading heading"
|
||||
"text picture";
|
||||
gap: var(--layout-public-page-pattern-text-picture-gap);
|
||||
align-items: start;
|
||||
color: var(--text-public-page-pattern-text-picture);
|
||||
}
|
||||
|
||||
.sg-public-page-pattern-text-and-picture-right > .sg-heading-h2 {
|
||||
grid-column: 1 / -1;
|
||||
grid-area: heading;
|
||||
margin: 0;
|
||||
color: var(--text-public-page-pattern-text-picture);
|
||||
}
|
||||
@@ -47,6 +49,7 @@
|
||||
.sg-public-page-pattern-text-and-picture-right {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-areas:
|
||||
"heading"
|
||||
"picture"
|
||||
"text";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user