Fix subreddits not showing sidebars
This commit is contained in:
parent
6bbc90bc0d
commit
48d2943f72
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue