diff --git a/src/components/modal/modal.module.scss b/src/components/modal/modal.module.scss
index 99a77d82..a844f23e 100644
--- a/src/components/modal/modal.module.scss
+++ b/src/components/modal/modal.module.scss
@@ -185,4 +185,12 @@
justify-content: center;
margin-top: 48px;
flex-direction: column;
+ width: 100%;
+ padding: 0 24px;
+ box-sizing: border-box;
+ max-width: 510px;
+
+ @media (min-width: $sm) {
+ padding: 0;
+ }
}
diff --git a/src/pages/dashboard/forms/forms.module.scss b/src/pages/dashboard/forms/forms.module.scss
index efbbf846..ed4df26f 100644
--- a/src/pages/dashboard/forms/forms.module.scss
+++ b/src/pages/dashboard/forms/forms.module.scss
@@ -45,7 +45,6 @@
gap: 24px;
width: 100%;
box-sizing: border-box;
- padding: 0 24px;
> * {
width: 100%;
@@ -87,6 +86,7 @@
@media (min-width: $sm) {
@include font-body-9;
+ padding: 0;
}
}
diff --git a/src/pages/dashboard/forms/token-amount-form.tsx b/src/pages/dashboard/forms/token-amount-form.tsx
index 116e9c79..6f58f4d3 100644
--- a/src/pages/dashboard/forms/token-amount-form.tsx
+++ b/src/pages/dashboard/forms/token-amount-form.tsx
@@ -4,7 +4,6 @@ import { ModalFooter, ModalHeader } from '../../../components/modal';
import Input from '../../../components/input';
import Button from '../../../components/button';
import { formatApi3, parseApi3, messages } from '../../../utils';
-import globalStyles from '../../../styles/global-styles.module.scss';
import styles from './forms.module.scss';
import UnstakeHelperText from './unstake-helper-text';
import { goSync } from '@api3/promise-utils';
@@ -51,18 +50,11 @@ const TokenAmountForm = (props: Props) => {
<>