Skip to content

Commit ff030b6

Browse files
committed
refactor: 💄 Remove gaps between notes and notifications
1 parent e121208 commit ff030b6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/notifications/notification.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<Card>
2+
<Card class="rounded-none border-0">
33
<Collapsible :default-open="true" v-slot="{ open }">
44
<Tooltip>
55
<TooltipTrigger :as-child="true">

components/timelines/timeline.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Timeline.vue -->
22
<template>
3-
<TransitionGroup name="timeline-item" tag="div" class="timeline-items *:rounded space-y-4 *:border">
3+
<TransitionGroup name="timeline-item" tag="div" class="timeline-items first:*:rounded-t divide-y divide-border *:border-x first:*:border-t *:overflow-hidden last:*:rounded-b last:*:!border-b *:shadow-none">
44
<TimelineItem :type="type" v-for="item in items" :key="item.id" :item="item" @update="updateItem"
55
@delete="removeItem" />
66
</TransitionGroup>
@@ -104,4 +104,4 @@ onMounted(() => {
104104
opacity: 0;
105105
scale: 0.99;
106106
}
107-
</style>
107+
</style>

pages/[username]/[uuid].vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div v-if="loaded" class="mx-auto max-w-2xl w-full pb-72 *:rounded space-y-4 *:border">
2+
<div v-if="loaded" class="mx-auto max-w-2xl w-full rounded overflow-hidden border divide-border divide-y">
33
<div>
44
<Note v-for="note, index of context?.ancestors" :note="note" :hide-actions="true"
55
:top-avatar-bar="index !== 0" :bottom-avatar-bar="true" :content-under-username="true" />

0 commit comments

Comments
 (0)