Skip to content

Commit

Permalink
hopefully polished some stylistic bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
imkunet committed Apr 24, 2023
1 parent 4b41f14 commit 73f5457
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" class="bg-zinc-900">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down
5 changes: 3 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ type PageNavLinkProps = ComponentProps<'a'> & {
const PageNavLink: Component<PageNavLinkProps> = (props: PageNavLinkProps) => {
return (
<Link
class="inline-flex items-center gap-1 text-gray-400 transition-all"
activeClass="font-bold text-gray-100"
inactiveClass="text-gray-400"
class="inline-flex items-center gap-1 transition-all"
activeClass="font-bold text-white"
{...props}
>
{props.children}
Expand Down
4 changes: 2 additions & 2 deletions src/components/PageWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const PageWrapper: Component<ParentProps> = (props: ParentProps) => {
easing: spring({ damping: 25, stiffness: 160 }),
allowWebkitAcceleration: true,
}}
class="col-span-full row-span-full"
class="col-span-full row-span-full mx-auto"
>
{props.children}
<div class="m-2 inline-block">{props.children}</div>
</Motion.div>
);
};
Expand Down

0 comments on commit 73f5457

Please sign in to comment.