Skip to content

Commit

Permalink
fix: 💄 use position: fixed for drawer button
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan6erbond committed May 7, 2023
1 parent eeed494 commit bbe69a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import Link from "next/link";
import { Record } from "pocketbase";
import React, { useEffect, useState } from "react";
import { SlDrawer } from "react-icons/sl";
import { getRelativeTime } from "../utils/relativeTime";
import { getRelativeTime } from "@/utils/relativeTime";
import Header from "./header";

interface LayoutProps {
Expand Down Expand Up @@ -153,7 +153,7 @@ function Layout({ children }: LayoutProps) {
{children}
{user && (
<ActionIcon
pos="absolute"
pos="fixed"
bottom={20}
left={20}
size="xl"
Expand Down

0 comments on commit bbe69a0

Please sign in to comment.