Another batch of UI tweaks
I recommend reviewing each commit individually as there's very little (if any) that depends on each other. I just didn't want to flood the merge request list with >10 tiny requests.
-
upd: add a download button to videos and audio
self explanatory -
fix: bring back the ability to hover on videos to show alt text
self explanatory -
fix: duplicate root dom element in dev mode
a tiny and mostly inconsequential fix for there being an unused misskey_app element during dev mode, seems to be a missed find and replace (no idea why you'd rebrand the internals of misskey but not my place to judge) -
fix: local instance ticker bug that fails to render notes
fixes a bug where if the user has the ticker enabled for the local instance, but the instance has no theme color set, notes fail to render completely. -
fix: adjust alignment and margin of icon in detailed note tabs
fixes a tiny ui bug where, on small enough screens, the icon for "reactions" tab in SkNoteDetailed sometimes appears on top of the text. imported from https://git.gay/blueb/Lockpick -
fix: links triggering clickToOpen
self explanatory -
fix: automatically grow textarea
automatically makes the post form text area grow as you add new lines, instead of needing to look for the tiny handle in the corner of the box -
fix: click to open on quotes
fixes click to open on quotes opening the parent post instead -
fix: mentions wrapping
fixes mentions wrapping in an odd way where the avatar wraps on top of the username -
fix: blue highlight on chromium when using click to open
on chromium based browsers in mobile, using click to open results in a blue flash. this disables that behavior -
fix: missing icon in MkMediaVideo
fixes typo in icon name -
Revert "Restore scroll position on navigation"
reverts that commit that copies code from firefish that tries to keep scroll position between page navigations. as misskey already has a similar and cleaner implementation. tested on my own instance and did not notice any functional differences -
upd: make avatars smaller on replies to allow more space for text
avatars on replies are the same size as avatars on normal posts, which looks terrible especially on mobile. also gets rid of some css which seems to be remnants from an earlier attempt at implementing firefish style replies (did not notice any differences)
-
upd: make note footer wider on smaller screens
adds some spacing between icons on the note footer as to keep them from grouping up to the left on mobile. imported from https://git.gay/blueb/Lockpick