Skip to content

Commit

Permalink
update margins
Browse files Browse the repository at this point in the history
  • Loading branch information
xvvvyz committed Jul 8, 2024
1 parent e73771c commit 569a1d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/(pages)/(with-nav)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Layout = async ({ children }: LayoutProps) => {
<div className="mx-auto max-w-lg pb-20">
<Subscriptions />
{user && (
<nav className="-mb-3 flex items-center justify-between gap-4 px-4 pt-8">
<nav className="flex items-center justify-between gap-4 px-4 pt-8">
<div className="flex flex-wrap gap-4">
<Button activeClassName="text-fg-2" href="/subjects" variant="link">
Subjects
Expand Down
2 changes: 1 addition & 1 deletion app/_components/session-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const SessionLayout = async ({

return (
<>
<nav className="flex w-full items-center justify-between px-4 pb-8 sm:px-8">
<nav className="flex w-full items-center justify-between px-4 sm:px-8">
<ForwardSearchParamsIconButton
disabled={!previousSessionId}
href={`/${shareOrSubjects}/${subjectId}/training-plans/${missionId}/sessions/${previousSessionId}${editSuffix}`}
Expand Down
4 changes: 2 additions & 2 deletions app/_components/session-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ const SessionPage = async ({
) : (
<>
{session.title && (
<p className="mx-auto -mt-8 max-w-xs px-4 pb-8 text-center">
<p className="mx-auto max-w-xs px-4 text-center">
{session.title}
</p>
)}
<ul className="space-y-4 border-y border-alpha-1 bg-alpha-reverse-2 py-4">
<ul className="mt-8 space-y-4 border-y border-alpha-1 bg-alpha-reverse-2 py-4">
{session.modules.map((module, i) => {
const event = firstIfArray(module.event);
const previousModule = session.modules[i - 1];
Expand Down

0 comments on commit 569a1d6

Please sign in to comment.