Small fixes
This commit is contained in:
parent
040982f1fd
commit
140c1b1bfa
@ -473,9 +473,9 @@ pub async fn request(path: &str) -> Result<Value, String> {
|
|||||||
Err("Page not found".to_string())
|
Err("Page not found".to_string())
|
||||||
}
|
}
|
||||||
// If failed to send request
|
// If failed to send request
|
||||||
Err(e) => {
|
Err(_e) => {
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
dbg!(format!("{} - {}", url, e));
|
dbg!(format!("{} - {}", url, _e));
|
||||||
Err("Couldn't send request to Reddit, this instance may be being rate-limited. Try another.".to_string())
|
Err("Couldn't send request to Reddit, this instance may be being rate-limited. Try another.".to_string())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -849,7 +849,7 @@ input[type="submit"] {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 4px 0 4px 5px;
|
margin: 4px 0 4px 5px;
|
||||||
border-left: 4px solid var(--highlighted);
|
border-left: 4px solid var(--highlighted);
|
||||||
background: var(--post);
|
background: var(--outside);
|
||||||
}
|
}
|
||||||
|
|
||||||
.md a, .md a * {
|
.md a, .md a * {
|
||||||
|
Loading…
Reference in New Issue
Block a user