Skip to content

Commit

Permalink
Merge branch 'feat/unencrypted' into tmp/20241226
Browse files Browse the repository at this point in the history
  • Loading branch information
heisenberg-2077 committed Dec 26, 2024
2 parents 38933d2 + 3479780 commit 015c2f9
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/ui/views/Unlock/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ import {
import { ReactComponent as RabbySVG } from '@/ui/assets/unlock/rabby.svg';
import { ReactComponent as BackgroundSVG } from '@/ui/assets/unlock/background.svg';
import clsx from 'clsx';
import styled from 'styled-components';

const InputFormStyled = styled(Form.Item)`
.ant-form-item-explain {
font-size: 13px;
line-height: 16px;
margin-top: 12px;
margin-bottom: 24px;
min-height: 0px;
color: var(--r-red-default);
}
`;

const Unlock = () => {
const wallet = useWallet();
Expand Down Expand Up @@ -86,7 +98,7 @@ const Unlock = () => {
</p>
</div>
<Form autoComplete="off" form={form} onFinish={handleSubmit}>
<Form.Item
<InputFormStyled
className="mt-[34px] mx-20"
name="password"
rules={[
Expand All @@ -109,7 +121,7 @@ const Unlock = () => {
ref={inputEl}
spellCheck={false}
/>
</Form.Item>
</InputFormStyled>
<Form.Item className="mx-20">
<Button
block
Expand Down

0 comments on commit 015c2f9

Please sign in to comment.