Просмотр исходного кода

fix(style): Align form action spacing with panel item (#51348)

Related to https://github.com/getsentry/sentry/pull/51267,
@priscilawebdev noticed that the padding is off for the form inside of a
panel. There is a dedicated style for this but it does not match the
padding for PanelItem. This PR adjusts this so this is correct.
Francesco Novy 1 год назад
Родитель
Сommit
eeef9209b5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      static/app/components/forms/form.tsx

+ 1 - 1
static/app/components/forms/form.tsx

@@ -273,7 +273,7 @@ const StyledFooter = styled('div')<{saveOnBlur?: boolean}>`
     `
   ${Panel} & {
     margin-top: 0;
-    padding-right: 36px;
+    padding-right: ${space(2)}
   }
 
   /* Better padding with form inside of a modal */