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;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cover {
|
img {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cover {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 50vh;
|
height: 50vh;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
.profilepicture {
|
.profilepicture {
|
||||||
object-fit: cover;
|
|
||||||
width: 5em;
|
width: 5em;
|
||||||
height: 5em;
|
height: 5em;
|
||||||
margin-right: .5em;
|
margin-right: .5em;
|
||||||
|
|
Loading…
Reference in New Issue