Skip to content

Commit

Permalink
feat(til): update TIL item padding
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Sep 14, 2024
1 parent b4f802e commit 0d190fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/til-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { MDXContent } from './mdx-content'

export function TilItem({ til }: { til: TIL }) {
return (
<div className="relative flex flex-col gap-6 border-b border-b-neutral-200 py-12 last:border-none dark:border-b-neutral-800 md:flex-row md:gap-3">
<div className="relative flex flex-col gap-6 border-b border-b-neutral-200 py-12 first:pt-0 last:border-none dark:border-b-neutral-800 md:flex-row md:gap-3">
<div className="top-24 h-fit flex-1 space-y-2 md:sticky md:space-y-5">
<div className="space-y-3">
<h2 className="text-xl font-bold">{til.title}</h2>
Expand Down

0 comments on commit 0d190fc

Please sign in to comment.