Skip to content

Commit 7847200

Browse files
authored
fix(aci): Negative margin was too large (#112946)
# Description The negative margins here are not meant to match the padding of this element, but the padding of the parent element. This makes it consistent with the top level component. ### Before the bar above "create new alert" is too long by a few pixels <img width="1480" height="263" alt="Screenshot 2026-04-13 at 4 31 48 PM" src="https://github.com/user-attachments/assets/6539d95e-0689-4bad-ad3a-59caa3448493" /> ### After The negative margin lines up with the padding. <img width="1487" height="282" alt="Screenshot 2026-04-14 at 10 20 24 AM" src="https://github.com/user-attachments/assets/c87e6628-f370-4bfe-8662-d67707950436" />
1 parent b41be62 commit 7847200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/views/detectors/components/forms/automateSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,5 @@ export function AutomateSection({step}: {step?: number}) {
133133
const ButtonWrapper = styled(Flex)`
134134
border-top: 1px solid ${p => p.theme.tokens.border.primary};
135135
padding: ${p => p.theme.space.xl};
136-
margin: -${p => p.theme.space.xl};
136+
margin: -${p => p.theme.space.lg};
137137
`;

0 commit comments

Comments
 (0)