Skip to content

Commit

Permalink
Fix line-number alignment in hero (#993)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
amirhhashemi and kodiakhq[bot] authored Dec 30, 2024
1 parent ce64b71 commit 9c8959f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ui/layout/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ export const Hero: Component = () => {
>
<Index each={snippetLines}>
{(_, index) => (
<pre class="pb-px">
{(index + 1).toString().padStart(2, "0")}
</pre>
<pre>{(index + 1).toString().padStart(2, "0")}</pre>
)}
</Index>
</div>
Expand Down

0 comments on commit 9c8959f

Please sign in to comment.