* Search: Apply bg on elements rather than container
This changes allows moving the individual elements that composes
the search bar around without losing the background on the elements.
* Update search widget semantic structure
* Make search bar design responsive on small screens
* Fix border color
* Polish
* Fix user comment post link disappearing when < 480px
* Improve user comment metadata design for mobile
* Remove formerly unused CSS class style
The prior commit introduced the usage of the `comment_subreddit` class
to identify the subreddit that the reddit user posted the comment on.
However, this class came with a legacy style within the CSS file that was
previously not used anywhere within the current day Redlib
As such this style has been removed.
Add the ability to search for specific comments within posts.
Known issues:
- Just like on reddit, this does not work with comment sorting. The
sorting order is ignored during the search and changing the sorting
order after the search does not change anything. I do not think we
can fix this before reddit does, since in my understanding we rely
on them for the sorting. However we could implement a default
sorting method ourselves by taking the vector of comments returned
from the search and sorting it manually.
- The UI could be improved on mobile. On screens with a max width
inferior to 480 pixels, the comment search bar is displayed below
the comment sorting form. It would be great if we could make the
search bar have the same width as the whole comment sorting form
but I do not have the willpower to write any more css.
Addresses the following layout bugs in mobile view:
* improper rendering of award images on posts
* upvote ratio no longer appearing on bottom-right corner of post as
before
* Reddit warning pop-up background cut off at bottom of page
Fixes#713.