workaround a bug where the blocker is invisible in conversation and timeline view.

Signed-off-by: Moon Man <moonman@shitposter.club>
This commit is contained in:
nee 2018-04-05 22:16:19 +02:00 committed by Moon Man
parent 0e8c75cfa2
commit 72bda1fc01
1 changed files with 2 additions and 2 deletions

View File

@ -166,8 +166,8 @@ EOB;
} catch (Exception $e) { } catch (Exception $e) {
$thumbnail = null; $thumbnail = null;
} }
$thumbWidthCss = $thumbnail ? $thumbnail->width.'px' : 'auto'; $thumbWidthCss = $thumbnail ? $thumbnail->width.'px' : '100%';
$thumbHeightCss = $thumbnail ? $thumbnail->height.'px' : 'auto'; $thumbHeightCss = $thumbnail ? $thumbnail->height.'px' : '100%';
$out->elementStart('div', array( $out->elementStart('div', array(
'class'=>'attachment-wrapper', 'class'=>'attachment-wrapper',