Skip to content

Commit 52f29a6

Browse files
committed
refactor: tweaks styles
1 parent 54d6bb9 commit 52f29a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/components/OgImage/ShareCard.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ const BOTTOM_ROW_H = 132
201201
marginBottom: '20px',
202202
}"
203203
>
204-
{{ truncate(description || 'No description.', 230) }}
204+
{{ truncate(description || 'No description.', 440) }}
205205
</div>
206206

207207
<!-- Tags -->
208-
<div class="flex flex-row flex-wrap gap-[10px]">
208+
<div class="flex flex-row flex-wrap gap-[16px]">
209209
<span
210210
v-if="hasTypes"
211211
class="flex items-center"
@@ -272,9 +272,9 @@ const BOTTOM_ROW_H = 132
272272
padding: '0 40px 0 32px',
273273
}"
274274
>
275-
<div class="flex flex-row items-center" style="gap: 36px">
275+
<div class="flex flex-row items-center gap-[42px]">
276276
<!-- Stars -->
277-
<div v-if="stars > 0" class="flex flex-row items-center" style="gap: 8px">
277+
<div v-if="stars > 0" class="flex flex-row items-center gap-[8px]">
278278
<svg
279279
width="20"
280280
height="20"
@@ -428,7 +428,7 @@ const BOTTOM_ROW_H = 132
428428
}"
429429
>
430430
<div class="flex flex-row items-center" :style="{ fontSize: '22px', fontWeight: 300 }">
431-
<span :style="{ color: primaryColor, fontWeight: 500 }">.</span>/npmx
431+
<span :style="{ color: primaryColor, fontWeight: 500, marginLeft: '-4px' }">.</span>/npmx
432432
<span :style="{ color: t.textSubtle, marginLeft: '12px', fontWeight: 300 }"
433433
>· npm package explorer</span
434434
>

0 commit comments

Comments
 (0)