mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-20 20:16:43 +00:00
Fix person popover on mobile
This commit is contained in:
parent
88d93137e2
commit
2807629891
@ -1,6 +1,5 @@
|
||||
# Current
|
||||
|
||||
- [ ] Add warning for petnames not synced (or maybe check that in connect?)
|
||||
- [ ] Add cryptic symbol somewhere showing how many hours I've put in vs sats received with a link to a dev fund page somewhere
|
||||
- [ ] Show loading/success on zap invoice screen
|
||||
- [ ] Fix iOS/safari/firefox
|
||||
|
@ -21,12 +21,17 @@
|
||||
$: {
|
||||
if (input) {
|
||||
listener = listenForFile(input, async inputFile => {
|
||||
const opts = filter(identity, {maxWidth, maxHeight})
|
||||
if (inputFile) {
|
||||
const opts = filter(identity, {maxWidth, maxHeight})
|
||||
|
||||
file = blobToFile(await stripExifData(inputFile, opts))
|
||||
quote = await postJson(user.dufflepud("/upload/quote"), {
|
||||
uploads: [{size: file.size}],
|
||||
})
|
||||
file = blobToFile(await stripExifData(inputFile, opts))
|
||||
quote = await postJson(user.dufflepud("/upload/quote"), {
|
||||
uploads: [{size: file.size}],
|
||||
})
|
||||
} else {
|
||||
file = null
|
||||
quote = null
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -348,7 +348,7 @@
|
||||
<Anchor
|
||||
type="unstyled"
|
||||
class="flex items-center gap-2 text-lg font-bold"
|
||||
href={!isMobile && routes.person($person.pubkey)}>
|
||||
href={isMobile ? null : routes.person($person.pubkey)}>
|
||||
<span>{displayPerson($person)}</span>
|
||||
{#if $person.verified_as}
|
||||
<i class="fa fa-circle-check text-sm text-accent" />
|
||||
|
Loading…
Reference in New Issue
Block a user