Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
georgwittberger-telekom-mms opened this issue Oct 2, 2024 · 0 comments
Open
3 tasks done
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@georgwittberger-telekom-mms

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
Status: In progress
Development

No branches or pull requests

2 participants