Fix public cards wrapper full bleed
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<h1 class="sg-main-heading">Components – Cards Public Page</h1>
|
<h1 class="sg-main-heading">Components – Cards Public Page</h1>
|
||||||
|
|
||||||
<main aria-label="Cards Public Page" class="sg-cards-public-page__main">
|
<main aria-label="Cards Public Page">
|
||||||
|
|
||||||
<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>
|
||||||
|
|||||||
@@ -226,17 +226,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sg-page-cards-public-page {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sg-page-cards-public-page > .sg-main-heading {
|
.sg-page-cards-public-page > .sg-main-heading {
|
||||||
margin: 0 0 var(--spacing-large) 0;
|
margin: 0 0 var(--spacing-large) 0;
|
||||||
padding-inline: var(--spacing-small);
|
|
||||||
}
|
|
||||||
|
|
||||||
.sg-page-cards-public-page .sg-cards-public-page__main {
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sg-page-cards .sg-preview-area > .sg-card,
|
.sg-page-cards .sg-preview-area > .sg-card,
|
||||||
@@ -245,6 +236,10 @@
|
|||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sg-page-cards-public-page #component-content-wrapper-card {
|
||||||
|
margin-inline: calc(-1 * var(--spacing-small));
|
||||||
|
}
|
||||||
|
|
||||||
.sg-page-cards-public-page #component-content-wrapper-card > .sg-transparent-card {
|
.sg-page-cards-public-page #component-content-wrapper-card > .sg-transparent-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user