From e3eeded952f79924ab4e29aa021173f7e53da6fb Mon Sep 17 00:00:00 2001 From: xenofem Date: Tue, 23 Jan 2024 01:34:08 -0500 Subject: [PATCH] mess around with css to make the work page not suck on phones --- dlibrary/static/dlibrary.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dlibrary/static/dlibrary.css b/dlibrary/static/dlibrary.css index d02110d..03c78d4 100644 --- a/dlibrary/static/dlibrary.css +++ b/dlibrary/static/dlibrary.css @@ -51,12 +51,19 @@ body { .work-container { display: flex; + flex-wrap: wrap; justify-content: center; gap: 30px; } +.work-preview img { + max-width: 100%; +} + .work-info { - max-width: min(50%, 500px); + flex-basis: 40%; + flex-grow: 1; + max-width: 500px; } .work-info td, .work-info th {