diff --git a/routes/css.cpp b/routes/css.cpp index 50aebe4..65ecaf1 100644 --- a/routes/css.cpp +++ b/routes/css.cpp @@ -28,8 +28,8 @@ static const constexpr char css[] = R"EOF( font-family: sans-serif; } img { - object-fit: cover; max-width: 100%; + height: auto; /* https://stackoverflow.com/a/17183996 */ } .center { text-align: center;