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: use margin for centered theme variant #3511

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

web-padawan
Copy link
Member

Description

Using justify-content: center has a drawback of making first tab inaccessible when there is a horizontal overflow.

Updated to use margin-left: auto and margin-right: auto instead to avoid this problem.

Fixes #3418

Type of change

  • Bugfix

@sonarcloud
Copy link

sonarcloud bot commented Mar 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@web-padawan web-padawan requested a review from jouni March 2, 2022 15:34
@web-padawan web-padawan merged commit d643d95 into master Mar 8, 2022
@web-padawan web-padawan deleted the fix/lumo-centered-scroll branch March 8, 2022 09:27
web-padawan added a commit that referenced this pull request Mar 8, 2022
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 23.0.2.

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 23.1.0.alpha1 and is also targeting the upcoming stable 23.1.0 version.

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

Successfully merging this pull request may close these issues.

[tabs] Broken scroll to left in small container when using centered theme
3 participants