Skip to content

Commit 924bddb

Browse files
scttcperclaude
andauthored
fix(settings): Add spacing above notification alert on emails page (#113123)
The alert was sitting right up against the "Add email" submit button. I think alerts use to have margin or something crazy. before <img width="1066" height="273" alt="image" src="https://github.com/user-attachments/assets/d61d6f9f-343b-49af-93b9-c034bb03475e" /> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c4480d4 commit 924bddb

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

static/app/views/settings/account/accountEmails.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {AlertLink} from '@sentry/scraps/alert';
77
import {Tag} from '@sentry/scraps/badge';
88
import {Button} from '@sentry/scraps/button';
99
import {defaultFormOptions, FormSearch, useScrapsForm} from '@sentry/scraps/form';
10-
import {Flex, Grid} from '@sentry/scraps/layout';
10+
import {Container, Flex, Grid} from '@sentry/scraps/layout';
1111

1212
import {addErrorMessage, addSuccessMessage} from 'sentry/actionCreators/indicator';
1313
import type {RequestOptions} from 'sentry/api';
@@ -107,15 +107,17 @@ function AccountEmails() {
107107
</form.AppForm>
108108
</FormSearch>
109109

110-
<AlertLink.Container>
111-
<AlertLink
112-
to="/settings/account/notifications"
113-
trailingItems={<IconStack />}
114-
variant="info"
115-
>
116-
{t('Want to change how many emails you get? Use the notifications panel.')}
117-
</AlertLink>
118-
</AlertLink.Container>
110+
<Container paddingTop="xl">
111+
<AlertLink.Container>
112+
<AlertLink
113+
to="/settings/account/notifications/"
114+
trailingItems={<IconStack />}
115+
variant="info"
116+
>
117+
{t('Want to change how many emails you get? Use the notifications panel.')}
118+
</AlertLink>
119+
</AlertLink.Container>
120+
</Container>
119121
</Fragment>
120122
);
121123
}

0 commit comments

Comments
 (0)