Remove preview area from public cards page

This commit is contained in:
2026-06-23 17:27:51 +02:00
parent b74c3b9079
commit 6de7cb5807
2 changed files with 24 additions and 29 deletions
-2
View File
@@ -15,7 +15,6 @@
<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.
@@ -45,7 +44,6 @@
</article>
</section>
</div>
</div>
</section>
</main>
+2 -5
View File
@@ -232,14 +232,11 @@
max-width: none;
}
.sg-page-cards-public-page .sg-preview-area {
display: block;
width: calc(100% + (2 * var(--spacing-small)));
box-sizing: border-box;
.sg-page-cards-public-page #component-content-wrapper-card {
margin-inline: calc(-1 * var(--spacing-small));
}
.sg-page-cards-public-page .sg-preview-area > .sg-transparent-card {
.sg-page-cards-public-page #component-content-wrapper-card > .sg-transparent-card {
width: 100%;
max-width: none;
margin: var(--spacing-large) 0;