Skip to content

Commit b047d75

Browse files
JonasBaandrewshie-sentry
authored andcommitted
layout: headers have the same background color (#92430)
Headers will have the same header backgrounds in UI2 regardless of if they are unified or not. Fixes DE-117
1 parent 829580f commit b047d75

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

static/app/components/layouts/thirds.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ export const Header = styled('header')<{
3838
p.noActionWrap ? 'minmax(0, 1fr) auto' : 'minmax(0, 1fr)'};
3939
4040
padding: ${space(2)} ${space(2)} 0 ${space(2)};
41-
background-color: ${p => (p.unified ? p.theme.background : 'transparent')};
41+
background-color: ${p =>
42+
p.theme.isChonk
43+
? p.theme.background
44+
: p.unified
45+
? p.theme.background
46+
: 'transparent'};
4247
4348
${p =>
4449
!p.unified &&

0 commit comments

Comments
 (0)