Revert "Remove preview area from public cards page"

This reverts commit 6de7cb5807.
This commit is contained in:
2026-06-24 09:21:39 +02:00
parent db4304d163
commit 9e62f78446
2 changed files with 29 additions and 24 deletions
+2
View File
@@ -15,6 +15,7 @@
<section id="component-content-wrapper-card">
<p class="sg-preview-label">Component: Content Wrapper Card</p>
<div class="sg-preview-area">
<div class="sg-transparent-card" data-component="transparent-card">
<p class="sg-body">
Content Wrapper Card als Transparent Card ohne horizontale Außenabstände und mit vertikalem Abstand gemäss spacing-large.
@@ -44,6 +45,7 @@
</article>
</section>
</div>
</div>
</section>
</main>
+5 -2
View File
@@ -232,11 +232,14 @@
max-width: none;
}
.sg-page-cards-public-page #component-content-wrapper-card {
.sg-page-cards-public-page .sg-preview-area {
display: block;
width: calc(100% + (2 * var(--spacing-small)));
box-sizing: border-box;
margin-inline: calc(-1 * var(--spacing-small));
}
.sg-page-cards-public-page #component-content-wrapper-card > .sg-transparent-card {
.sg-page-cards-public-page .sg-preview-area > .sg-transparent-card {
width: 100%;
max-width: none;
margin: var(--spacing-large) 0;