diff --git a/components/Timeline.module.css b/components/Timeline.module.css index 30b0d47..ab1ed8f 100644 --- a/components/Timeline.module.css +++ b/components/Timeline.module.css @@ -59,17 +59,15 @@ } .text { - position: absolute; + height: fit-content; margin: 0px; + padding: 5px; + border-radius: 10px; font-size: 20px; font-weight: 700; color: var(--label); background-color: var(--card-background); - position: relative; - height: fit-content; word-wrap: break-word; - border-radius: 10px; - padding: 5px; box-sizing: border-box; } diff --git a/pages/playground.tsx b/pages/playground.tsx index 87dc944..0221beb 100644 --- a/pages/playground.tsx +++ b/pages/playground.tsx @@ -68,7 +68,7 @@ export default function Home() {

{""}

- + ); }