hardwire dimensions.
We will need to revise all dimensions for the arc-hive theme.
This commit is contained in:
parent
2cb3e788ea
commit
1b9b6a6f15
|
@ -75,7 +75,8 @@ class Sketchfab extends AbstractBlockLayout
|
|||
|
||||
$media = $attachments[0]->item()->media()[0];
|
||||
$width = 900;
|
||||
$height = $width / $block->dataValue('ratio');
|
||||
//$height = $width / $block->dataValue('ratio');
|
||||
$height = $width / 1.333;
|
||||
return $view->partial('common/block-layout/sketchfab', [
|
||||
'title' => false,
|
||||
'width' => $width,
|
||||
|
|
Loading…
Reference in New Issue