From 55ede4dc3513741358ad5f00097fe0e0bec41c4e Mon Sep 17 00:00:00 2001 From: Jonathan Staab Date: Tue, 11 Apr 2023 13:12:24 -0500 Subject: [PATCH] Fix note border --- ROADMAP.md | 9 +-------- src/app2/shared/Note.svelte | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index 311d8157..9dc75c05 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -3,21 +3,14 @@ - [ ] Refactor - Split out Note pieces - Move global modals to child components? - - [ ] Relays bounty - [ ] Ability to create custom feeds - [ ] Add global/following/network tabs to relay detail - [ ] Some lnurls aren't working npub1y3k2nheva29y9ej8a22e07epuxrn04rvgy28wvs54y57j7vsxxuq0gvp4j -- [ ] Fix performance issues - - Call close onbeforeunload to save pending changes - - Fix force relays on login: http://localhost:5173/messages/npub1l66wvfm7dxhd6wmvpukpjpyhvwtlxzu0qqajqxjfpr4rlfa8hl5qlkfr3q -- [ ] Fix iOS/safari/firefox -- [ ] Revisit profile page and info - - [ ] Add zaps to likes tab +- [ ] Fix force relays on login: http://localhost:5173/messages/npub1l66wvfm7dxhd6wmvpukpjpyhvwtlxzu0qqajqxjfpr4rlfa8hl5qlkfr3q - [ ] Sort DMs, remember message status - [ ] Image classification - https://github.com/bhky/opennsfw2 - - Requires updating my OS -_- # Custom views diff --git a/src/app2/shared/Note.svelte b/src/app2/shared/Note.svelte index 83bd3da9..2ec21039 100644 --- a/src/app2/shared/Note.svelte +++ b/src/app2/shared/Note.svelte @@ -375,6 +375,7 @@ getHeight(childrenContainer) - getHeight(lastChild) - getHeight(lastChild.nextElementSibling) - + getHeight(lastChild.nextElementSibling?.nextElementSibling) - (lastChild.nextElementSibling ? 16 : 0) border.style = `height: ${height - 21}px`