Fix dates (hopefully) pt.3

This commit is contained in:
Hellx2 2024-08-18 20:32:10 +10:00
parent 75eb0c88ba
commit a9826a410d
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ impl FromStr for Image {
tag: parts[1].clone(),
id: parts[2].clone(),
created: parts[3..(parts.len() - 2)].join(" "),
size: parts.last().expect("Failed to get last item!").clone(),
size: parts[(parts.len() - 2)..parts.len()].join(" "),
})
}
}

View file

@ -43,6 +43,6 @@
.image-box {
border-radius: 10px;
box-shadow: -1px -1px #ff0000;
box-shadow: 1px -1px #000000;
margin: 10px;
}