Skip to content

Commit afcaf89

Browse files
authored
issues: remove custom save button styling (#91974)
Fixes DE-85 ![CleanShot 2025-05-20 at 16 29 12@2x](https://github.com/user-attachments/assets/cc56ec85-123f-46fd-89b6-3005d921c9d4)
1 parent 6f8ac74 commit afcaf89

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

static/app/views/issueList/issueViews/issueViewSaveButton.tsx

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {IconChevron} from 'sentry/icons';
1010
import {t} from 'sentry/locale';
1111
import {space} from 'sentry/styles/space';
1212
import {trackAnalytics} from 'sentry/utils/analytics';
13+
import {withChonk} from 'sentry/utils/theme/withChonk';
1314
import {useLocation} from 'sentry/utils/useLocation';
1415
import {useNavigate} from 'sentry/utils/useNavigate';
1516
import useOrganization from 'sentry/utils/useOrganization';
@@ -160,23 +161,26 @@ export function IssueViewSaveButton({query, sort}: IssueViewSaveButtonProps) {
160161
);
161162
}
162163

163-
const PrimarySaveButton = styled(Button)`
164-
box-shadow: none;
164+
const PrimarySaveButton = withChonk(
165+
styled(Button)`
166+
box-shadow: none;
165167
166-
${p =>
167-
p.priority === 'primary' &&
168-
css`
169-
&::after {
170-
content: '';
171-
position: absolute;
172-
top: -1px;
173-
bottom: -1px;
174-
right: -1px;
175-
border-right: solid 1px currentColor;
176-
opacity: 0.25;
177-
}
178-
`}
179-
`;
168+
${p =>
169+
p.priority === 'primary' &&
170+
css`
171+
&::after {
172+
content: '';
173+
position: absolute;
174+
top: -1px;
175+
bottom: -1px;
176+
right: -1px;
177+
border-right: solid 1px currentColor;
178+
opacity: 0.25;
179+
}
180+
`}
181+
`,
182+
Button
183+
);
180184

181185
const DropdownTrigger = styled(Button)`
182186
box-shadow: none;

0 commit comments

Comments
 (0)