Skip to content

Commit 2d414b2

Browse files
committed
fix: typography in textinput
1 parent 9af1129 commit 2d414b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/sections/challenges/Submission.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default function Submission(): ReactElement {
162162
/>
163163
</div>
164164
{challenge.format.githubLink && (
165-
<div className="w-full m-0 text-lg py-0 leading-none items-center space-x-2">
165+
<div className="w-full m-0 text-base py-0 leading-none items-center space-x-2">
166166
<div>
167167
<GithubLinkInput
168168
id="input-github"

src/components/ui/TextInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default forwardRef<HTMLTextAreaElement, TextInputProps>(function TextInpu
3535
const isFilled = useMemo(() => value.trim().length > 0, [value]);
3636

3737
const labelClassName = classNames(
38-
"absolute top-0 left-0 text-lg px-5 py-5 z-10 h-full pointer-events-none transform origin-left transition-all duration-100 ease-in-out items-center",
38+
"absolute top-0 left-0 text-base px-5 py-5 z-10 h-full pointer-events-none transform origin-left transition-all duration-100 ease-in-out items-center",
3939
{
4040
"text-gray-400 flex items-center": !isFilled && !isFocused,
4141
"text-gray-400 scale-75 -translate-y-3 translate-x-1": isFocused || isFilled,
@@ -45,7 +45,7 @@ export default forwardRef<HTMLTextAreaElement, TextInputProps>(function TextInpu
4545
);
4646

4747
const textareaClassName = classNames(
48-
"w-full border border-solid border-gray-200 h-56 resize-none m-0 pt-5 md:pt-7.5 pl-15 pr-2 md:px-10.75 block text-lg focus:outline-none placeholder-gray-400 placeholder-opacity-100",
48+
"w-full border border-solid border-gray-200 h-56 resize-none m-0 pt-5 md:pt-7.5 pl-15 pr-2 md:px-10.75 block text-base focus:outline-none placeholder-gray-400 placeholder-opacity-100",
4949
inputClass
5050
);
5151

0 commit comments

Comments
 (0)