Skip to content

Commit

Permalink
Merge pull request #540 from syscoin/fix/inputs-size
Browse files Browse the repository at this point in the history
fix(inputs): resized
  • Loading branch information
lucasgabrielgsp authored Jan 26, 2024
2 parents 6b6e121 + e2ed7a1 commit 8bdcf27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
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 { useLocation } from 'react-router-dom';
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 Down Expand Up @@ -348,7 +348,7 @@ const CustomRPCView = () => {
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 @@ const CustomRPCView = () => {
</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

0 comments on commit 8bdcf27

Please sign in to comment.