Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 0.18.0

- Display subreddit name (r/<name>) in search result (fix #288)

# Version 0.17.0

- Attempt to better mimick Android in requests to Reddit to avoid being blocked by Reddit due to fingerprinting
Expand Down
8 changes: 7 additions & 1 deletion static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ blockquote > p {
}
}

/* Dark theme stuff */
/* Dark theme stuff (either set through JS or system) */

@media (prefers-color-scheme: dark) {
img.dark-inverted {
filter: invert(100%);
}
}

html[data-theme="dark"] .dark-inverted {
filter: invert(100%);
Expand Down
5 changes: 3 additions & 2 deletions templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@
</ul>

<ul class="align-items-baseline">
<li>
<form class="nav-search" action="/search" method="get">
<li >
<form role="search" class="nav-search" action="/search" method="get">
<input type="search" id="search" name="q" placeholder="Search">
<input type="submit" value="Search" />
</form>
</li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion templates/macros/search_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{# Title + flairs #}
<div class="col post-title">
<a href="{{ url_for('subreddit', path=subreddit.name) }}">
<strong>{{ subreddit.title }}</strong>
<strong>{{ subreddit.title }} - r/{{ subreddit.name }}</strong>
</a>
</div>

Expand Down