[MenuItem] label alignment subject to cascade of text-align CSS property #3058
Open
Description
Description
Whenever text-align is used on a parent element, all sp-menu-item labels inherit that instead of explicitly defining start.
Steps to reproduce
- Open any UI with a sp-menu
- Manually add text-align:center to
.spectrum-Menu
- Observe menu items are centered now
Expected behavior
Menu items should not be centered and should perserve the initial text alignment
Screenshots
Environment
- Version of the impacted component(s):
- Browser(s) and OS(s):
Additional context
Additional JIRA information: CCEX-136334