CSS cleanup

pull/35/head
Jared He 7 months ago
parent c1b8ae469f
commit 59b476cd5e
  1. 8
      components/Timeline.module.css
  2. 2
      pages/playground.tsx

@ -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;
}

@ -68,7 +68,7 @@ export default function Home() {
<h2>
<code>{"<Timeline />"}</code>
</h2>
<Timeline data={mockTimelineData} width={800} height={1600} />
<Timeline data={mockTimelineData} width={800} height={1500} />
</div>
);
}

Loading…
Cancel
Save