-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Tab-Title]: tabs no longer center with layout="center"
#7025
Labels
4 - verified
Issues that have been released and confirmed resolved.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Calcite (dev)
Issues logged by Calcite developers.
estimate - 1
Very small fix or change (potentially a single line), doesn't require updates to tests.
impact - p1 - need for current milestone
User set priority impact status of p1 - need for current milestone
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Comments
Elijbet
added a commit
that referenced
this issue
May 26, 2023
**Related Issue:** #7025 ## Summary Enhancement to `tab-title` to make it optionally `closable` introduced structural changes that caused a regression in the tab alignment when centered.
Installed and assigned for verification. |
Elijbet
added a commit
that referenced
this issue
May 27, 2023
…he width of `tab-nav` (#7047) **Related Issue:** #7025 ## Summary Follow-up to fix to #7026. Centered `tabs` should spread the `tab-titles` evenly to extend across the entire width of `tab-nav`, as opposed to `inline tab-titles` that only justify against the start of `tab-nav` width. Added coverage for both `centeredTabsAreEvenlyJustifiedAcrossNavWidth` and `inlineTabsJustifyAgainstTheStartOfTheNavWidth`.
Installed and assigned for verification. |
Verified in |
thanks a lot for fixing this, it looks fine now in Scene Viewer with 1.4.1 :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4 - verified
Issues that have been released and confirmed resolved.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Calcite (dev)
Issues logged by Calcite developers.
estimate - 1
Very small fix or change (potentially a single line), doesn't require updates to tests.
impact - p1 - need for current milestone
User set priority impact status of p1 - need for current milestone
p - medium
Issue is non core or affecting less that 60% of people using the library
Actual Behavior
Reproduction Sample
https://codepen.io/nsulzberger_esri/pen/MWPLRgB
Reproduction Version
1.4.0
Relevant Info
Possible fix:
:host([centered]) .content { @apply mi-auto; }
on or around https://github.com/Esri/calcite-components/blame/master/src/components/tab-title/tab-title.scss#L95Possible workaround: https://codepen.io/mpriour/pen/bGmzJZm
Regression?
Regression caused by #2620
Priority impact
p1 - need for current milestone
Esri team
Calcite (dev)
The text was updated successfully, but these errors were encountered: