Skip to content

Commit f4a0c27

Browse files
TkDodoandrewshie-sentry
authored andcommitted
fix(ui2): use a default Input for search in UI2 (#97568)
before: <img width="859" height="212" alt="Screenshot 2025-08-11 at 16 21 43" src="https://github.com/user-attachments/assets/c0bedc59-ed52-43fb-bf1e-a860e5ca8940" /> after: <img width="859" height="212" alt="Screenshot 2025-08-11 at 16 21 31" src="https://github.com/user-attachments/assets/2f46cfe2-e706-4c41-a77d-ce9523e9eda3" /> note: there is no change to UI1
1 parent 6b2ab9c commit f4a0c27

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

static/app/components/events/eventDrawer.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {Breadcrumbs as NavigationBreadcrumbs} from 'sentry/components/breadcrumb
44
import {InputGroup} from 'sentry/components/core/input/inputGroup';
55
import {DrawerBody, DrawerHeader} from 'sentry/components/globalDrawer/components';
66
import {space} from 'sentry/styles/space';
7+
import {withChonk} from 'sentry/utils/theme/withChonk';
78
import {MIN_NAV_HEIGHT} from 'sentry/views/issueDetails/streamline/eventTitle';
89

910
export const Header = styled('h3')`
@@ -13,11 +14,14 @@ export const Header = styled('h3')`
1314
margin: 0;
1415
`;
1516

16-
export const SearchInput = styled(InputGroup.Input)`
17-
border: 0;
18-
box-shadow: unset;
19-
color: inherit;
20-
`;
17+
export const SearchInput = withChonk(
18+
styled(InputGroup.Input)`
19+
border: 0;
20+
box-shadow: unset;
21+
color: inherit;
22+
`,
23+
InputGroup.Input
24+
);
2125

2226
export const NavigationCrumbs = styled(NavigationBreadcrumbs)`
2327
margin: 0;

0 commit comments

Comments
 (0)