Skip to content

Commit

Permalink
Fix and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
P-man2976 committed Oct 23, 2023
1 parent 386db7b commit 851cea8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function Header({ id }: HeaderProps) {
const frameToggleSidebar = useSetAtom(toggleSidebarAtom);

return (
<header id={id} className="bg-base-2 z-40 flex items-center gap-4 pl-2">
<header id={id} className="z-40 flex items-center gap-4 bg-base-2 pl-2">
<Button
size="icon"
variant="ghost"
Expand All @@ -37,15 +37,15 @@ export function Header({ id }: HeaderProps) {
<Button
size="icon"
variant="ghost"
className="text-base-9 -ml-3 p-0"
className="-ml-3 p-0 text-base-9"
onClick={() => toggle(!dark)}
>
<div className="i-heroicons:magnifying-glass h-full text-xl" />
</Button>
<Button
size="icon"
variant="ghost"
className="text-base-9 p-0"
className="p-0 text-base-9"
onClick={() => toggle(!dark)}
>
<div className="i-heroicons:sun-20-solid h-full text-xl " />
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/layout/InlayContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function InlayContainer({ children }: InlayContainerProps) {
<div
className={cn(
"bg-base-3 flex h-fit w-full md:w-80 shrink-0 flex-col gap-2 rounded-lg px-2 py-4",
{ "hidden md:block": itemSelected },
{ "hidden md:flex": itemSelected },
)}
onClick={() => setItemSelected(true)}
>
Expand Down

0 comments on commit 851cea8

Please sign in to comment.