Skip to content

Commit

Permalink
Fix flicker
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 21, 2023
1 parent c86edaa commit a3abe69
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function Closed() {
</div>

<p className="font-medium pb-1 text-2xl text-[#606060]">
You can't login yet but keep a lookout in your email for when we
You can't log in yet, but keep a lookout in your email for when we
open up for beta testing.
</p>

Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/app/[locale]/@dashboard/(root)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export default async function Overview({ searchParams }) {
};

const isOpen = Boolean(searchParams.step);
const empty = !data?.length && !isOpen;
const empty = !data?.length;

return (
<>
<div className={cn(empty && "opacity-20 pointer-events-none")}>
<div className={cn(empty && !isOpen && "opacity-20 pointer-events-none")}>
<div className="h-[450px]">
<ChartSelectors value={value} defaultValue={defaultValue} />

Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/main-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export function MainMenu() {
name: "Inbound",
icon: () => (
<div className="relative">
<span className="flex h-[6px] w-[6px] absolute -top-[3px] -right-[7px]">
{/* <span className="flex h-[6px] w-[6px] absolute -top-[3px] -right-[7px]">
<span className="animate-[ping_1s_ease-in-out_3] absolute inline-flex h-full w-full rounded-full bg-[#d98d00] opacity-75" />
<span className="relative inline-flex rounded-full h-[6px] w-[6px] bg-[#d98d00]" />
</span>
</span> */}
<Icons.Inbox2 size={22} />
</div>
),
Expand Down
4 changes: 0 additions & 4 deletions apps/dashboard/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ body {
outline: none;
}

.steps-gradient {
background: linear-gradient(180deg,#121212 0%, #2C2C2C 40%, #2C2C2C 100%);
}

:root {
--sidebar-width: 662px;

Expand Down

0 comments on commit a3abe69

Please sign in to comment.