Skip to content

Commit

Permalink
frontend: Tweak styles
Browse files Browse the repository at this point in the history
  • Loading branch information
pbzweihander committed May 13, 2024
1 parent 32fb980 commit 39debfb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import RightNav from "./RightNav";

export default function Layout() {
return (
<div className="flex h-screen w-full justify-center">
<div className="flex h-screen w-full justify-center bg-base-200">
<LeftNav />
<div className="mx-5 h-full w-1/2">
<div className="mx-5 h-full w-1/2 bg-base-100">
<Outlet />
</div>
<RightNav />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/LeftNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function LeftNav() {
const isAuthed = useIsAuthed() ?? false;

return (
<div className="flex h-full w-64 flex-col p-4">
<div className="w-50 flex h-full flex-col p-4">
<h1 className="text-xl font-bold">{setting?.instanceName}</h1>
<div className="flex-grow" />
{isAuthed ? <LeftNavProfile /> : <LeftNavLogin />}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/RightNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function RightNav() {
const isAuthed = useIsAuthed() ?? false;

return (
<div className="h-full p-4">
<div className="w-50 h-full p-4">
{isAuthed && (
<>
<div className="mb-4">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/login/LogInIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function LogInIndexPage() {

return (
<div className="relative flex h-full w-full">
<div className="h-full w-full overflow-y-scroll py-10">
<div className="h-full w-full overflow-y-scroll p-6">
{(notes ?? []).map((note) => (
<div
key={note.id}
Expand Down

0 comments on commit 39debfb

Please sign in to comment.