From 3ee3bc4fb491920272cbf3834dd6b842622ab79d Mon Sep 17 00:00:00 2001 From: ORDONNEAU Antoine Date: Thu, 26 Mar 2026 09:22:00 +0100 Subject: [PATCH] correction de css et suppression de css en trop --- src/components/ui/Button/Button.module.css | 1 - src/components/ui/Modal/Modal.module.css | 1 + src/pages/EventDetail/EventDetailPage.module.css | 5 +++++ .../components/AssignUserBtn/AssignUserBtn.module.css | 5 +---- .../EventDetail/components/AssignUserBtn/AssignUserBtn.tsx | 2 +- .../EventDetail/components/DeleteEventBtn/DeleteEventBtn.tsx | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/ui/Button/Button.module.css b/src/components/ui/Button/Button.module.css index bcb2324..1a81952 100644 --- a/src/components/ui/Button/Button.module.css +++ b/src/components/ui/Button/Button.module.css @@ -25,7 +25,6 @@ .default { color: black; - font-weight: bold; background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); diff --git a/src/components/ui/Modal/Modal.module.css b/src/components/ui/Modal/Modal.module.css index 8e97c9d..6a1568a 100644 --- a/src/components/ui/Modal/Modal.module.css +++ b/src/components/ui/Modal/Modal.module.css @@ -29,4 +29,5 @@ display: flex; align-items: center; justify-content: center; + margin-top: 10px; } diff --git a/src/pages/EventDetail/EventDetailPage.module.css b/src/pages/EventDetail/EventDetailPage.module.css index bea80b8..e840ab2 100644 --- a/src/pages/EventDetail/EventDetailPage.module.css +++ b/src/pages/EventDetail/EventDetailPage.module.css @@ -69,6 +69,7 @@ gap: 10px; } + @media screen and (max-width: 768px) { .eventContent { @@ -86,4 +87,8 @@ .eventImage { width: 100%; } + + .manageEvent{ + margin: 16px 0 16px 0; + } } \ No newline at end of file diff --git a/src/pages/EventDetail/components/AssignUserBtn/AssignUserBtn.module.css b/src/pages/EventDetail/components/AssignUserBtn/AssignUserBtn.module.css index c5798dc..dc40708 100644 --- a/src/pages/EventDetail/components/AssignUserBtn/AssignUserBtn.module.css +++ b/src/pages/EventDetail/components/AssignUserBtn/AssignUserBtn.module.css @@ -9,10 +9,7 @@ display: flex; align-items: center; justify-content: space-between; - padding: 10px 14px; - border-radius: 10px; - background: rgba(255,255,255,0.05); - border: 1px solid rgba(255,255,255,0.08); + padding: 10px 20px 10px 20px; } .userName { diff --git a/src/pages/EventDetail/components/AssignUserBtn/AssignUserBtn.tsx b/src/pages/EventDetail/components/AssignUserBtn/AssignUserBtn.tsx index 9a9ad3d..2fc3be8 100644 --- a/src/pages/EventDetail/components/AssignUserBtn/AssignUserBtn.tsx +++ b/src/pages/EventDetail/components/AssignUserBtn/AssignUserBtn.tsx @@ -71,7 +71,7 @@ export default function AssignUserBtn({ taskId }: AssignUserBtnProps): ReactNode setOpen(false)} title={"Assigner un utilisateur à cette tâche"}>
{loading ? : users.map((user: User, index) => ( -
+

{user.name} {user.lastname}

diff --git a/src/pages/EventDetail/components/DeleteEventBtn/DeleteEventBtn.tsx b/src/pages/EventDetail/components/DeleteEventBtn/DeleteEventBtn.tsx index 9a79467..4e76a2f 100644 --- a/src/pages/EventDetail/components/DeleteEventBtn/DeleteEventBtn.tsx +++ b/src/pages/EventDetail/components/DeleteEventBtn/DeleteEventBtn.tsx @@ -46,7 +46,7 @@ export default function DeleteEventBtn({ id }: DeleteEventBtnProps) { Etes-vous sur de vouloir supprimer l'événement {eventInfo?.name} ?

-