diff --git a/routes/css.cpp b/routes/css.cpp index 4e94d42..37978f5 100644 --- a/routes/css.cpp +++ b/routes/css.cpp @@ -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;