Set object-fit: cover to all images
This commit is contained in:
parent
d5fdf03a25
commit
2c7103b56b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue