Skip to content

Commit

Permalink
Some styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ideen1 committed Mar 5, 2024
1 parent a7d5c00 commit 8f3efee
Show file tree
Hide file tree
Showing 3 changed files with 1,865 additions and 1,891 deletions.
6 changes: 3 additions & 3 deletions client/src/components/DraggableGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function DraggableGraph({
}) {
return (
<Draggable handle="strong">
<div className="box absolute z-50 w-fit rounded bg-white shadow-xl">
<div className="box bg-light text-light dark:bg-dark dark:text-dark absolute z-50 w-fit rounded shadow-2xl">
<div className="relative flex flex-row items-center justify-center">
<strong>
<div className="cursor-pointer select-none">{graphID}</div>
Expand All @@ -34,8 +34,8 @@ function DraggableGraph({
/>
</div>
<LineChart
width={500}
height={300}
width={250}
height={150}
data={data}
margin={{
top: 5,
Expand Down
7 changes: 0 additions & 7 deletions client/src/components/GraphContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,36 @@ export default function GraphContainer() {
const { openGraphs, closeGraph } = useGraphOverlay();
const data = [
{
name: "Page A",
uv: 4000,
pv: 2400,
amt: 2400,
},
{
name: "Page B",
uv: 3000,
pv: 1398,
amt: 2210,
},
{
name: "Page C",
uv: 2000,
pv: 9800,
amt: 2290,
},
{
name: "Page D",
uv: 2780,
pv: 3908,
amt: 2000,
},
{
name: "Page E",
uv: 1890,
pv: 4800,
amt: 2181,
},
{
name: "Page F",
uv: 2390,
pv: 3800,
amt: 2500,
},
{
name: "Page G",
uv: 3490,
pv: 4300,
amt: 2100,
Expand Down
Loading

0 comments on commit 8f3efee

Please sign in to comment.