Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(inputs): resized #540

Merged
merged 1 commit into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/components/PasswordForm/PasswordForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const PasswordForm: React.FC<IPasswordForm> = ({ onSubmit }) => {
</Form.Item>

<Form.Item
id="create-password"
name="repassword"
className="w-full flex justify-center"
hasFeedback
Expand Down
14 changes: 9 additions & 5 deletions source/pages/Settings/CustomRPC.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import { validateEthRpc, validateSysRpc } from '@pollum-io/sysweb3-network';

import checkAtIcon from 'assets/icons/checkAt.svg';
import { Button, Layout, NeutralButton, Tooltip } from 'components/index';
import { Button, Layout, Tooltip } from 'components/index';
import { useUtils } from 'hooks/index';
import { RootState } from 'state/store';
import { ICustomRpcParams } from 'types/transactions';
Expand All @@ -27,7 +27,7 @@
>(null);
const [isSyscoinRpc, setIsSyscoinRpc] = useState(Boolean(isSyscoinSelected));
const { activeNetwork, isBitcoinBased } = useSelector(
(state: RootState) => state.vault

Check warning on line 30 in source/pages/Settings/CustomRPC.tsx

View workflow job for this annotation

GitHub Actions / yarn test-all

'state' is already declared in the upper scope on line 19 column 11
);
const { wallet } = getController();
const { alert, navigate } = useUtils();
Expand Down Expand Up @@ -348,7 +348,7 @@
type="text"
placeholder={t('settings.symbol')}
className={`${
isSyscoinRpc ? 'hidden' : 'block'
isSyscoinRpc ? 'hidden' : 'relative'
} custom-input-password relative`}
/>
</Form.Item>
Expand Down Expand Up @@ -404,10 +404,14 @@
</Button>
</div>
) : (
<div className="absolute bottom-12 md:static">
<NeutralButton type="submit" loading={loading}>
<div className="relative bottom-0 md:static">
<Button
className="xl:p-18 h-[40px] w-[352px] flex items-center justify-center text-brand-blue400 text-base bg-white hover:opacity-60 rounded-[100px] transition-all duration-300 xl:flex-none"
type="submit"
loading={loading}
>
{t('buttons.save')}
</NeutralButton>
</Button>
</div>
)}
</Form>
Expand Down
Loading