Clean up public page component docs and alignment

This commit is contained in:
2026-06-24 10:49:56 +02:00
parent f0dbdadeae
commit 749b787f53
3 changed files with 8 additions and 6 deletions
+3
View File
@@ -119,6 +119,9 @@
<tr><td>layout-call-to-action-card-content-gap</td><td>spacing-large</td><td>Abstand zwischen Text und Button.</td></tr>
</tbody>
</table>
<h3 class="sg-sub-heading sg-section-h3">Picture Full Width</h3>
<p class="sg-table-label">Keine zusätzlichen semantischen Tokens erforderlich. Die Komponente ist strukturell und bezieht sich mit <code>width: 100%</code> auf den umgebenden Container, mit <code>height: auto</code> und <code>display: block</code> für das Bild-Element.</p>
</section>
<section id="semantic-interactive">
@@ -67,6 +67,10 @@
justify-content: flex-end;
}
.sg-call-to-action-card--align-right {
margin-left: auto;
}
.sg-picture-full-width {
display: block;
width: 100%;
@@ -82,8 +86,7 @@
@media (max-width: 48rem) {
.sg-text-block,
.sg-card--call-to-action-card,
.sg-picture-full-width {
.sg-card--call-to-action-card {
width: 100%;
}
}
@@ -11,7 +11,3 @@
.sg-page-public-page-patterns .sg-text-block--align-right {
margin-left: auto;
}
.sg-call-to-action-card--align-right {
margin-left: auto;
}