mirror of
https://github.com/spikecodes/libreddit
synced 2024-12-24 01:25:15 +01:00
Fix subreddits not showing sidebars
This commit is contained in:
parent
6bbc90bc0d
commit
48d2943f72
@ -86,7 +86,7 @@ pub async fn wiki(req: HttpRequest) -> HttpResponse {
|
||||
// SUBREDDIT
|
||||
async fn subreddit(sub: &str) -> Result<Subreddit, &'static str> {
|
||||
// Build the Reddit JSON API url
|
||||
let path: String = format!("r/{}/about.json?raw_json=1", sub);
|
||||
let path: String = format!("/r/{}/about.json?raw_json=1", sub);
|
||||
|
||||
// Send a request to the url
|
||||
match request(&path).await {
|
||||
|
@ -477,7 +477,7 @@ input[type="submit"]:hover { color: var(--accent); }
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
background-color: rgba(0,0,0,0.6);
|
||||
color: white;
|
||||
grid-area: 1 / 1 / 2 / 2;
|
||||
padding: 5px;
|
||||
|
Loading…
Reference in New Issue
Block a user