Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #322 from serlo/decrease-learner-view-spacing-top
Browse files Browse the repository at this point in the history
fix(visual): Decrease vertical spacing at the top in learner view
  • Loading branch information
LarsTheGlidingSquirrel authored Jan 16, 2024
2 parents 0db4a59 + 3fe39b8 commit 8ca2618
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/frontend/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ function EditInner({
save={save}
isSaving={isSaving}
/>
<div className="h-20"></div>
<Layout>{children}</Layout>
{renderExtraEditorStyles()}
<div ref={formDiv} />
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function Layout({ children }: { children: ReactNode }) {
<>
<div
className={clsx(
'prose lg:prose-lg mx-auto max-w-5xl py-20 px-4 sm:px-6 lg:px-8',
'prose lg:prose-lg mx-auto max-w-5xl py-2 px-4 sm:px-6 lg:px-8',
'prose-stone prose-headings:text-stone-800 prose-h1:font-bold',
'prose-a:text-sky-500',
)}
Expand Down

1 comment on commit 8ca2618

@vercel
Copy link

@vercel vercel bot commented on 8ca2618 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.