From e47424fdef341990b69a8d14721d3feb93cd6da1 Mon Sep 17 00:00:00 2001 From: Cedric Spindler Date: Fri, 6 Sep 2019 09:08:05 +0200 Subject: Add class to let image fill container in x --- css/local.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'css') diff --git a/css/local.css b/css/local.css index a0b99951..2d557249 100755 --- a/css/local.css +++ b/css/local.css @@ -9,10 +9,18 @@ .urlwordbreakall { word-break: break-all; } + +/* +.half-width-img have to table cols at 50% each and fit image in col +*/ table.half-width-img th { width: 50%; } -table.half-width-img img { +/* +.img-fill-container scale an image to fit container in x axis +*/ +table.half-width-img img, +.img-fill-container { width: 100%; height: auto; } -- cgit v1.2.1