diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html
index 347ec33232..4d6747b90f 100644
--- a/.storybook/preview-head.html
+++ b/.storybook/preview-head.html
@@ -27,7 +27,8 @@
@@ -43,9 +43,14 @@ describe(`sbb-header`, () => {
Christina Müller
English
+
${size === 's'
- ? html``
- : html``}
+ ? html``
+ : html``}
${loremIpsumTemplate}
@@ -76,7 +81,7 @@ describe(`sbb-header`, () => {
padding: '0',
});
setup.withStateElement(
- setup.snapshotElement.querySelector
(`a[slot='logo']`)!,
+ setup.snapshotElement.querySelector('.sbb-header-logo')!,
);
}),
);
diff --git a/src/elements/header/header/readme.md b/src/elements/header/header/readme.md
index 650ed05872..7b7ec42a71 100644
--- a/src/elements/header/header/readme.md
+++ b/src/elements/header/header/readme.md
@@ -2,12 +2,13 @@ The `sbb-header` component is a container for actions and a logo, and it is disp
## Slots
-It has two slots:
-the first one can contain one or more action ([sbb-header-button](/docs/elements-sbb-header-sbb-header-button--docs) or
-[sbb-header-link](/docs/elements-sbb-header-sbb-header-link--docs))
-or other action items like [sbb-button](/docs/elements-sbb-button--docs) or [sbb-link](/docs/elements-sbb-link--docs),
-and it is displayed at the left end of the component; the second slot is displayed at the right end,
-and it can contain a logo or a signet, which by default is the [sbb-logo](/docs/elements-sbb-logo--docs).
+The slot can contain:
+
+- one or more actions ([sbb-header-button](/docs/elements-sbb-header-sbb-header-button--docs) or [sbb-header-link](/docs/elements-sbb-header-sbb-header-link--docs))
+- other action items like [sbb-button](/docs/elements-sbb-button--docs) or [sbb-link](/docs/elements-sbb-link--docs)
+- a logo or a signet with the `.sbb-header-logo` class (see [sbb-logo](/docs/elements-sbb-logo--docs))
+
+Slotted elements are aligned to the left. Use `
-
+