Set object-fit: cover to all images

This commit is contained in:
blankie 2023-04-06 22:28:02 +07:00
parent d5fdf03a25
commit 2c7103b56b
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 4 additions and 2 deletions

View File

@ -31,14 +31,16 @@ void css_route(const httplib::Request& req, httplib::Response& res) {
text-decoration: underline;
}
.cover {
img {
object-fit: cover;
}
.cover {
width: 100%;
height: 50vh;
margin-bottom: 1em;
}
.profilepicture {
object-fit: cover;
width: 5em;
height: 5em;
margin-right: .5em;