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
"Should I align surrounding content to the text label or edge/border?"
Let's eliminate this question and, in turn, the small padding workarounds that exist today by making the label and border be flush to the edge. Further, in exploring ways to modernize our UI design, this as a more common and (subjectively) desirable style.
Example workaround
To achieve text alignment...
...you need custom padding
Proposed solution
Remove the 4px padding-inline from EuiTab so that tab content sits flush to edge. This way, surrounding content can similarly sit flush to edge which it naturally does (i.e. no custom padding needed).
I'm torn on this one. I wonder if the issue is that the inline padding is too small so it seems like a visual bug rather than a choice. Have we tried instead increasing this to 8px?
Activity
[-]`EuiTab` Remove inline padding[/-][+][EuiTab] Remove inline padding[/+]mdefazio commentedon Aug 20, 2026
I'm torn on this one. I wonder if the issue is that the inline padding is too small so it seems like a visual bug rather than a choice. Have we tried instead increasing this to 8px?
ryankeairns commentedon Sep 23, 2026
Closed via #10068