Revert "Remove preview area from public cards page"
This reverts commit 6de7cb5807.
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
<section id="component-content-wrapper-card">
|
<section id="component-content-wrapper-card">
|
||||||
<p class="sg-preview-label">Component: Content Wrapper Card</p>
|
<p class="sg-preview-label">Component: Content Wrapper Card</p>
|
||||||
|
|
||||||
|
<div class="sg-preview-area">
|
||||||
<div class="sg-transparent-card" data-component="transparent-card">
|
<div class="sg-transparent-card" data-component="transparent-card">
|
||||||
<p class="sg-body">
|
<p class="sg-body">
|
||||||
Content Wrapper Card als Transparent Card ohne horizontale Außenabstände und mit vertikalem Abstand gemäss spacing-large.
|
Content Wrapper Card als Transparent Card ohne horizontale Außenabstände und mit vertikalem Abstand gemäss spacing-large.
|
||||||
@@ -44,6 +45,7 @@
|
|||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -232,11 +232,14 @@
|
|||||||
max-width: none;
|
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));
|
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%;
|
width: 100%;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
margin: var(--spacing-large) 0;
|
margin: var(--spacing-large) 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user