Skip to content

Commit

Permalink
Merge pull request #481 from MeetDOD/issue-377
Browse files Browse the repository at this point in the history
Bug: Fixed the new post page title successfully issue 377
  • Loading branch information
Ultimateutkarsh11 authored Jul 23, 2024
2 parents 99d0e4f + f094862 commit 62d20f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/NewPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ const NewPost = () => {
return (
<div className=" min-h-screen text-[#000435] bg-white dark:text-white dark:bg-[#000435]" style={{ backgroundImage: `url(${bgHero})`, backgroundSize: 'cover', backgroundPosition: 'center' }} >
<div className="border text-[#000435] bg-white dark:text-white dark:bg-[#000435] rounded-lg p-6 sm:max-w-[70%] max-w-[50vh] mx-auto " style={{ backgroundImage: `url(${bgHero})`, backgroundSize: 'cover', backgroundPosition: 'center' }}>
<h2 className="text-2xl font-semibold mb-4">Create New Post</h2>
<h2 className="text-2xl font-semibold mb-4 text-center">Create New Post</h2>
<p className="mt-4">{errorMessage}</p>
<form onSubmit={handleSubmit} className="space-y-4">
<div>
<label htmlFor="title" className="block text-sm font-medium">

Title
</label>
<input
type="text"
Expand Down

0 comments on commit 62d20f0

Please sign in to comment.