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

fix: 🤔 tabs do not grow with longer tab titles #901

Closed
4 of 9 tasks
koepferd opened this issue Apr 2, 2024 · 1 comment · Fixed by #904
Closed
4 of 9 tasks

fix: 🤔 tabs do not grow with longer tab titles #901

koepferd opened this issue Apr 2, 2024 · 1 comment · Fixed by #904
Assignees

Comments

@koepferd
Copy link

koepferd commented Apr 2, 2024

Current behavior

When an sd-tab has a longer title than ~10 characters the text will overflow the tab size.
Bildschirmfoto 2024-04-02 um 08 15 15
For the part "base" there is a width of w-20 fixed. I suppose this should rather be min-width.

Expected behavior

The tab width grows with longer tab titles.

Steps to reproduce

Use a longer tab title in storybook.

Technical Information

DoR

  • Item has business value
  • Item has been estimated by the team
  • Item is clear and well-defined
  • Item dependencies have been identified

DoD

  • Documentation has been created/updated (if applicable)
  • Migration Guide has been created/updated (if applicable)
  • Relevant E2E tests (Features, A11y, Bug fixes) are created/updated
  • Relevant stories (Features, A11y) are created/updated
  • Implementation works successfully on feature branch
@Vahid1919 Vahid1919 self-assigned this Apr 3, 2024
@Vahid1919 Vahid1919 linked a pull request Apr 3, 2024 that will close this issue
1 task
@yoezlem
Copy link
Contributor

yoezlem commented Apr 9, 2024

#904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

3 participants