From 9b72b3dff05ccc3aff31c2119456fbc97425ee89 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 16 Jan 2019 19:22:21 -0800 Subject: [PATCH] Use CSS Grid on photo.html, resolve some Chrome/FF differences. - In Firefox, the image under flex would be full-res height instead of staying screen height. In this new Grid-based layout the image is the correct size. Left toolbox still uses flex, no problems with it. - Redid the classing of the photo_viewer and eliminated photo_img_holder so that all media types follow the same markup. - Added a CSS variable for tracking narrow mode instead of relying on coincidental properties like flex settings. --- .../etiquette_flask/templates/photo.html | 182 ++++++++---------- 1 file changed, 85 insertions(+), 97 deletions(-) diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html index a6e3266..d8f7a5b 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -14,38 +14,35 @@