Skip to content

Commit c6eaa5b

Browse files
Enhance button hover effect in Header component and add padding to PostForm submission form
1 parent a7aeaae commit c6eaa5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Header/Header.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function Header(){
5050
<button
5151
onClick={() => navigate(item.slug)}
5252
className="inline-block px-6 py-2 duration-200
53-
hover:ng-blue-100 rounded-full"
53+
hover:bg-blue-100 rounded-full"
5454
>{item.name}</button>
5555
</li>
5656
) : null

src/components/post-form/PostForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function PostForm({post}) {
7878
}
7979
}, [watch, slugTransform, setValue])
8080
return (
81-
<form onSubmit={handleSubmit(submit)} className="flex flex-wrap">
81+
<form onSubmit={handleSubmit(submit)} className="flex flex-wrap p-4">
8282
<div className="w-2/3 px-2">
8383
<Input
8484
label="Title :"

0 commit comments

Comments
 (0)