hardwire dimensions.

We will need to revise all dimensions for the arc-hive theme.
This commit is contained in:
buttle 2021-06-22 12:21:37 +02:00
parent 2cb3e788ea
commit 1b9b6a6f15
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,8 @@ class Sketchfab extends AbstractBlockLayout
$media = $attachments[0]->item()->media()[0]; $media = $attachments[0]->item()->media()[0];
$width = 900; $width = 900;
$height = $width / $block->dataValue('ratio'); //$height = $width / $block->dataValue('ratio');
$height = $width / 1.333;
return $view->partial('common/block-layout/sketchfab', [ return $view->partial('common/block-layout/sketchfab', [
'title' => false, 'title' => false,
'width' => $width, 'width' => $width,