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:
parent
0e8c75cfa2
commit
72bda1fc01
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue