Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyrlex committed Sep 23, 2023
1 parent 11cc820 commit 33d4e3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/AdminEventCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const AdminEventCard: FC<Props> = ({ event }) => {
return <>
{deleted ? (<></>) : (
<>
<div className='group bg-gray-200 p-4 rounded-lg shadow-md transition-all duration-[400ms] ease-in-out relative w-[24rem] sm:w-full sm:h-[30rem]'>
<div className='group bg-gray-200 p-4 rounded-lg shadow-md transition-all duration-[400ms] ease-in-out relative w-[90vw] sm:w-full sm:h-[30rem]'>
{confirmation ? (<>
<div>
<Confirmation
Expand Down Expand Up @@ -111,7 +111,7 @@ const AdminEventCard: FC<Props> = ({ event }) => {
Starttijd Evenement
</label>
<input
className='appearance-none block w-[11rem] lg:w-96 bg-gray-200 text-gray-700 border border-slate-500 rounded py-3 px-4 leading-tight focus:bg-white focus:ring-red-500 outline-none focus:border-red-500'
className='appearance-none block w-[40vw] lg:w-96 bg-gray-200 text-gray-700 border border-slate-500 rounded py-3 px-4 leading-tight focus:bg-white focus:ring-red-500 outline-none focus:border-red-500'
type='datetime-local'
required
{...register('startsAtTimestamp', { required: true })}
Expand All @@ -124,7 +124,7 @@ const AdminEventCard: FC<Props> = ({ event }) => {
Eindtijd Evenement
</label>
<input
className='appearance-none block w-[11rem] lg:w-96 bg-gray-200 text-gray-700 border border-slate-500 rounded py-3 px-4 leading-tight focus:bg-white focus:ring-red-500 outline-none focus:border-red-500'
className='appearance-none block w-[40vw] lg:w-96 bg-gray-200 text-gray-700 border border-slate-500 rounded py-3 px-4 leading-tight focus:bg-white focus:ring-red-500 outline-none focus:border-red-500'
type='datetime-local'
required
{...register('endsAtTimestamp', { required: true })}
Expand Down

0 comments on commit 33d4e3d

Please sign in to comment.