Skip to content

Commit

Permalink
better spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
AvidDabbler committed Jan 29, 2024
1 parent 0ec7e9f commit f041bc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/routes/__root.routes.$routeShortName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function RootRouteTemplate() {

console.log(loaderData);
return (
<div className="flex flex-col gap-3 w-[80%] py-3">
<div className="flex flex-col gap-3 w-[70%] py-3">
<h1 className="text-3xl font-bold">
{loaderData.routes[0].routeLongName}
</h1>
Expand Down
4 changes: 2 additions & 2 deletions app/routes/__root.routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export async function loader() {
export default function RouteRootTemplat() {
const loaderData = useLoaderData<typeof loader>();
return (
<div className="flex w-full gap-3 overflow-hidden">
<div className="w-60">
<div className="flex w-full gap-6 overflow-hidden">
<div className="w-[350px]">
<ul>
{loaderData.allRoutes.map((el) => (
<li key={el.routeId}>
Expand Down
2 changes: 1 addition & 1 deletion app/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function RootTemplate() {
</DropdownMenu>
</div>
</div>
<div className="flex-col flex justify-center px-12">
<div className="flex-col flex justify-center px-8">
<Outlet />
</div>
</div>
Expand Down

0 comments on commit f041bc9

Please sign in to comment.