Skip to content

Commit 27eba70

Browse files
garthdwdanielroe
andauthored
fix(ui): minor padding adjustment for readme heading (#881)
Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent 3185c40 commit 27eba70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/components/Readme.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function handleClick(event: MouseEvent) {
8888
color: var(--fg);
8989
@apply font-mono;
9090
font-weight: 500;
91-
margin-top: 2rem;
91+
margin-top: 1rem;
9292
margin-bottom: 1rem;
9393
line-height: 1.3;
9494

app/pages/package/[...package].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,11 +1040,11 @@ defineOgImageComponent('Package', {
10401040

10411041
<!-- README -->
10421042
<section id="readme" class="area-readme min-w-0 scroll-mt-20">
1043-
<div class="flex flex-wrap items-center justify-between mb-4">
1043+
<div class="flex flex-wrap items-center justify-between mb-3">
10441044
<h2 id="readme-heading" class="group text-xs text-fg-subtle uppercase tracking-wider">
10451045
<a
10461046
href="#readme"
1047-
class="inline-flex py-4 px-2 items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline"
1047+
class="inline-flex items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline"
10481048
>
10491049
{{ $t('package.readme.title') }}
10501050
<span

0 commit comments

Comments
 (0)