You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
When using the alignItems="center" prop on a ToolbarContent component, a text toolbar item that is not as tall as other items is vertically at the top rather than being centred.
PF6: vertical centering is no longer the default, but using alignItems="center" on the ToolbarContent component achieves the desired result https://codesandbox.io/p/sandbox/t5hgyh
Describe the problem
When using the
alignItems="center"
prop on aToolbarContent
component, a text toolbar item that is not as tall as other items is vertically at the top rather than being centred.How do you reproduce the problem?
PF4: vertical centering was the default
https://codesandbox.io/p/sandbox/p844wj
PF6: vertical centering is no longer the default, but using
alignItems="center"
on theToolbarContent
component achieves the desired resulthttps://codesandbox.io/p/sandbox/t5hgyh
PF5: alignment does not work with the same changes as for PF6
https://codesandbox.io/p/sandbox/jr7hq6
Expected behavior
There should be a way to vertically center when using PF5.
Is this issue blocking you?
No
What is your environment?
What is your product and what release date are you targeting?
ACM 2.13 - Feature Complete Feb 12, 2025
The text was updated successfully, but these errors were encountered: