Small fixes

This commit is contained in:
spikecodes 2021-01-18 13:12:59 -08:00
parent 040982f1fd
commit 140c1b1bfa
2 changed files with 3 additions and 3 deletions

View File

@ -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())
} }
} }

View File

@ -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 * {