Revert "Fix public cards page full width layout"

This reverts commit 5f585ff599.
This commit is contained in:
2026-06-24 09:21:39 +02:00
parent 69b190692c
commit db4304d163
2 changed files with 5 additions and 14 deletions
+1 -1
View File
@@ -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>
+4 -13
View File
@@ -226,25 +226,16 @@
width: 100%; width: 100%;
} }
.sg-page-cards-public-page {
padding: 0;
}
.sg-page-cards-public-page > .sg-main-heading {
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,
.sg-page-cards .sg-preview-area > .sg-transparent-card { .sg-page-cards .sg-preview-area > .sg-transparent-card {
width: 100%; width: 100%;
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;