sbb-design-systems / lyne-components

Components for Lyne Design System
https://lyne-storybook.app.sbb.ch
MIT License
45 stars 13 forks source link

[Bug]: SSR-only -> sbb-expansion-panel-header misaligned #3127

Closed feerglas closed 3 days ago

feerglas commented 3 days ago

Preflight Checklist

Bug type

Functionality

It affects the following packages

Components

Which version of Lyne Components are you using

1.12.0

Operating system

MacOS 15.0

Browser / Browser version

Chromium 128.0.6613.120

Input mode

None

Additional settings

No response

What happened?

When using SSR, the accordion header is misaligned. There is no issue without SSR.

Bildschirmfoto 2024-10-01 um 10 06 07

Steps to reproduce the issue

  1. open https://codesandbox.io/p/devbox/lyne-datepicker-issue-forked-wvgyvh
  2. make sure the server is running, otherwise run npm start on the terminal.
  3. notice the misalignement of the accordion header

Relevant log output

No response

feerglas commented 3 days ago

an update of the peer dependencies resolved the issue