lyne-components icon indicating copy to clipboard operation
lyne-components copied to clipboard

[Bug]: Image dropping out at bottom of `sbb-flip-card` component

Open georgwittberger-telekom-mms opened this issue 4 months ago • 0 comments

Preflight Checklist

Bug type

Functionality

It affects the following packages

Components

Which version of Lyne Components are you using

1.10.0

Operating system

Windows 10

Browser / Browser version

Google Chrome

Input mode

Mouse/Keyboard

Additional settings

No response

What happened?

On small screens having a width of less than 600px but close to that breakpoint (e.g. 590px) the image inside a sbb-flip-card component (image position below) is not fully contained inside the card but "drops" out at the bottom:

flip-card-image-shifted

Expected behavior is that the image stays entirely inside the card, so that the image area is completely visible.

Steps to reproduce the issue

  1. Open a page with sbb-flip-card component (image-alignment="below"). In Storybook see the example "Image Below": https://lyne-storybook.app.sbb.ch/?path=/docs/elements-sbb-flip-card-sbb-flip-card--docs
  2. Resize browser window to 590px width.
  3. Check if image is still completely contained inside card.

Relevant log output

No response