Skip to content

Commit

Permalink
fix: fix header underline
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb committed Jan 5, 2023
1 parent b5e6ce7 commit fe33314
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/app/src/components/CtaHeader/CtaHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { AddQuestionButton } from "./AddQuestionButton";

type CtaHeaderActiveLinkProps = Readonly<{
href: string;
activeHref?: string;
children: ReactNode;
}>;

Expand All @@ -21,7 +22,9 @@ export const CtaHeader = () => (
<div className="sticky top-0 z-20 bg-primary">
<Container as="header" className="flex h-14 items-center justify-between">
<nav className="flex grow gap-4 text-sm text-white sm:grow-0">
<CtaHeaderActiveLink href="/questions/js/1">Lista pytań</CtaHeaderActiveLink>
<CtaHeaderActiveLink activeHref="/questions" href="/questions/js/1">
Lista pytań
</CtaHeaderActiveLink>
<PrivateElement>
<CtaHeaderActiveLink href="/admin">Admin</CtaHeaderActiveLink>
</PrivateElement>
Expand Down

0 comments on commit fe33314

Please sign in to comment.