diff --git a/src/app/pages/client/direct/DirectStreamHeader.tsx b/src/app/pages/client/direct/DirectStreamHeader.tsx index d1c9c086..f33e98f7 100644 --- a/src/app/pages/client/direct/DirectStreamHeader.tsx +++ b/src/app/pages/client/direct/DirectStreamHeader.tsx @@ -24,7 +24,7 @@ const Segment = forwardRef( style={{ appearance: 'none', border: 'none', - background: active ? color.Background.ContainerActive : 'transparent', + background: 'transparent', color: color.Background.OnContainer, opacity: disabled ? 0.45 : 1, cursor: disabled ? 'default' : 'pointer', @@ -34,9 +34,26 @@ const Segment = forwardRef( fontWeight: active ? 600 : 500, fontSize: toRem(13), lineHeight: 1.2, + flex: 1, + position: 'relative', + display: 'flex', + alignItems: 'center', + justifyContent: 'center', }} > {label} + {active && ( + + )} ) ); @@ -54,8 +71,8 @@ export function DirectStreamHeader() { const navOpts = { replace: isNativePlatform() }; return ( - - + +