[EuiTab] Remove inline padding and update text colors - #9878
Conversation
Flush tab labels to the edge and use subdued/heading text for inactive/selected tabs while keeping the primary underline. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
This PR updates EuiTab styling to align tab label/underline edges flush with the tab boundary (removing the prior 4px inline padding) and to modernize label color semantics (inactive vs selected) while keeping the selected underline as primary blue.
Changes:
- Removed horizontal padding from the base
EuiTabstyles so tab contents/underline align flush to the edge. - Updated default (inactive) tab text color to
textSubdued. - Updated selected tab text color to
textHeadingwhile keeping the underlineprimary.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
26 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuisuperdatepicker (2 differences)
euipage (12 differences)
euitabbedcontent (2 differences)
euitabs (6 differences)
euipagetemplate (4 differences)
|
27 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuisuperdatepicker (2 differences)
euipage (12 differences)
euitabbedcontent (2 differences)
euitabs (6 differences)
euidatagrid (1 difference)
euipagetemplate (4 differences)
|
Co-authored-by: Cursor <cursoragent@cursor.com>
18 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuisuperdatepicker (2 differences)
euipage (12 differences)
euipagetemplate (4 differences)
|
18 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuisuperdatepicker (2 differences)
euipage (12 differences)
euipagetemplate (4 differences)
|
Co-authored-by: Cursor <cursoragent@cursor.com>
3 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuisuperdatepicker (2 differences)
euidatagrid (1 difference)
|
3 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuisuperdatepicker (2 differences)
euidatagrid (1 difference)
|
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
💚 Build Succeeded
History
|
26 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuisuperdatepicker (2 differences)
euipage (12 differences)
euitabbedcontent (2 differences)
euitabs (6 differences)
euipagetemplate (4 differences)
|
30 visual difference(s) found - expand to review, then click Approve visual changes to update baselineseuimarkdownformat (3 differences)
euiselectable (1 difference)
euisuperdatepicker (2 differences)
euipage (12 differences)
euitabbedcontent (2 differences)
euitabs (6 differences)
euipagetemplate (4 differences)
|
💔 Build Failed
Failed CI StepsHistory
|





























































































Closes #9898
Summary
EuiTabso labels and the selected underline sit flush with the tab edge (#9817)textSubdued, selected tabs usetextHeading; selected underline remains primary blueBefore and After
Test plan
/docs/containers/tabs) — all sizes, selected/disabled, with prepend/appendCloses #9817
Made with Cursor