* Fix a whole bunch of mobile styling bugs
* Make searchbox scroll fix only apply in mobile mode to prevent bug
* Remove the min-width requirement for the main column
This was meant to be removed already, this is what fixes posts having an odd right side gap before swapping to the mobile layout
* Make margins consistent between fixed and unfixed navbar settings
* Remove some empty space from deleted option
* Make mobile layout post width fix only apply in mobile mode to prevent bug
* Make sure some options only get applied to the elements that need them, also fix the margins on the settings page
* Move search comments option before it starts touching the sort options and wrapping the x amount of comments text
* Trigger the even further compacted layout a little earlier, right before text begins wrapping in odd ways
* In the extra small mobile layout make give up/downvote numbers enough room so they aren't clipping out of their box
* Fix https://github.com/redlib-org/redlib/issues/172
* Properly center search box instead of having it slightly skewed
* Undo word wrapping since it breaks the sorting options and the only other viable setting has an absolute conniption on Chrome for some reason
* Readd word wrapping and just force it to normal for the sorting section
* Make post flair line up with title
* Make post flair position consistent
* Make footer text properly horizontally centered in mobile mode and fix slight vertical misalignment issues
* Make feeds button appear in settings menu to keep navbar looking consistent
* Fix extra navbar padding on search page
* Reduce gap between navbar and content in mobile mode
* Reduce gap between navbar and content in mobile mode
Adds another on/off preference (default: on, keeps same
behaviour) for the fixed navbar.
When off the navbar will not remain at the top of the
page when scrolling.
This is useful for small displays such as phones where
otherwise the navbar takes up a sizeable portion of
the viewport.
* Initial work on filtering subreddits and users
* Fix doubly-prefixed subreddit name in search alt text (e.g. r/r/pics)
* Don't set post title to "Comment" if empty - this could throw off actual posts with the title "Comment"
* Filter search results
* Fix filtering to differentiate between "this subject itself is filtered" vs "all posts on this current page have been filtered"
* Remove unnecessary check
* Clean up
* Cargo format
* Collapse comments from filtered users
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
* HLS video playback
Signed-off-by: Adrian Lebioda <adrianlebioda@gmail.com>
* Add LibreJS compliance
* Locally host hls.js
* Notification about HLS under videos that support it
Signed-off-by: Adrian Lebioda <adrianlebioda@gmail.com>
* Use .contains() instead of .find() == None
* Make list of preferences constant
* Change headers_keys from Vector into Array
* Fix incorrect detecting of # in paths
* Remove trailing-slash-appending if statement
* Change HLS notification styling
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>