Scale rather than fly reply box

This commit is contained in:
Jonathan Staab 2022-12-02 04:55:06 -08:00
parent 16d1f8adc7
commit b7195dc37f
2 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,5 @@
Bugs
- [ ] Scale rather than fly reply box
- [ ] Listener on notes view not adding notes
- [ ] Pin joined relays at the top
- [ ] Load/publish user preferred relays
- [ ] Optimistically load events the user publishes (e.g. to reduce reflow for reactions/replies). Essentially, we can pretend to be our own in-memory relay.

View File

@ -1,7 +1,7 @@
<script>
import cx from 'classnames'
import {find, uniqBy, prop, whereEq} from 'ramda'
import {fly} from 'svelte/transition'
import {fly, slide} from 'svelte/transition'
import {navigate} from 'svelte-routing'
import {ellipsize} from 'hurdak/src/core'
import {hasParent, toHtml} from 'src/util/html'
@ -146,7 +146,7 @@
{#if reply !== null}
<div
class="note-reply flex bg-medium border-medium border border-solid"
transition:fly={{y: 20}}>
transition:slide>
<textarea
rows="4"
autofocus