Skip to content

Commit 3e4aaea

Browse files
committed
fix styling
1 parent 421e0c1 commit 3e4aaea

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/app/input-text/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
'use client';
22

33
import React from 'react';
4-
import { InputTitleText, InputText } from '../../components/TextInput/styles';
4+
import { InputTitleText, InputText } from '../../components/TextInput/styles';
55

66
export default function InputTextTest() {
77
return (
88
<>
99
<InputTitleText>Label</InputTitleText>
10-
<InputText $error={false} placeholder="Input Suggestion"/>
10+
<InputText $error={false} placeholder="Input Suggestion" />
1111
</>
12-
)
13-
}
12+
);
13+
}

src/components/TextInput/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const InputText = styled.input<{ $error: boolean }>`
99
font-size: 1rem; // 16px
1010
font-family: ${inter.style};
1111
font-weight: 400;
12-
line-height: 19.2px;
12+
line-height: 19.2px;
1313
word-wrap: break-word;
1414
padding: 0.625rem 1.25rem; // 10px 20px 10px 20px;
1515
border-radius: 5px;

0 commit comments

Comments
 (0)