Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailwind css fix for issue #122 #159

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Drawer = ({
id="drawer"
className={clsx(
showDrawer ? "translate-x-0" : "-translate-x-full",
"z-30 m-0 h-screen w-72 flex-col justify-between bg-zinc-900 p-3 font-mono text-white shadow-3xl transition-all",
"z-30 m-0 h-auto w-72 flex-col justify-between bg-zinc-900 p-3 font-mono text-white shadow-3xl transition-all",
"absolute",
"flex md:static md:translate-x-0"
)}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ const Home: NextPage = () => {
show={showSettingsDialog}
close={() => setShowSettingsDialog(false)}
/>
<main className="flex h-screen w-screen flex-row">
<main className="flex h-auto w-auto flex-row">
<Drawer
showHelp={() => setShowHelpDialog(true)}
showSettings={() => setShowSettingsDialog(true)}
/>
<div
id="content"
className="z-10 flex h-screen w-full items-center justify-center p-2 px-2 sm:px-4 md:px-10"
className="z-10 flex h-auto w-full items-center justify-center p-2 px-2 sm:px-4 md:px-10"
>
<div
id="layout"
Expand Down