mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
refactor: 💄 Remove gaps between notes and notifications
This commit is contained in:
parent
e12120853a
commit
ff030b63ee
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<Card>
|
||||
<Card class="rounded-none border-0">
|
||||
<Collapsible :default-open="true" v-slot="{ open }">
|
||||
<Tooltip>
|
||||
<TooltipTrigger :as-child="true">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<!-- Timeline.vue -->
|
||||
<template>
|
||||
<TransitionGroup name="timeline-item" tag="div" class="timeline-items *:rounded space-y-4 *:border">
|
||||
<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">
|
||||
<TimelineItem :type="type" v-for="item in items" :key="item.id" :item="item" @update="updateItem"
|
||||
@delete="removeItem" />
|
||||
</TransitionGroup>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div v-if="loaded" class="mx-auto max-w-2xl w-full pb-72 *:rounded space-y-4 *:border">
|
||||
<div v-if="loaded" class="mx-auto max-w-2xl w-full rounded overflow-hidden border divide-border divide-y">
|
||||
<div>
|
||||
<Note v-for="note, index of context?.ancestors" :note="note" :hide-actions="true"
|
||||
:top-avatar-bar="index !== 0" :bottom-avatar-bar="true" :content-under-username="true" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue