From fb58e56dad8b4404cf5b59072ad51a6e9865c96c Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sat, 3 Jun 2023 13:26:57 +0200 Subject: [PATCH] Few improvement --- src/components/timeline/Timeline.scss | 4 ++-- src/components/timeline/Timeline.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/timeline/Timeline.scss b/src/components/timeline/Timeline.scss index f45e223..c44c0a1 100644 --- a/src/components/timeline/Timeline.scss +++ b/src/components/timeline/Timeline.scss @@ -1,8 +1,8 @@ .timeline { - @apply w-full max-w-5xl flex justify-center; + @apply w-full p-5; & > ul { - @apply list-none py-5 px-0 relative w-full; + @apply list-none py-5 px-0 relative w-full max-w-5xl mx-auto; & > li { @apply mb-12 relative flex; diff --git a/src/components/timeline/Timeline.tsx b/src/components/timeline/Timeline.tsx index 9cc4a03..8176ee1 100644 --- a/src/components/timeline/Timeline.tsx +++ b/src/components/timeline/Timeline.tsx @@ -9,7 +9,7 @@ function Timeline({ children } : TimelapseProps) { return (
-