Skip to content

Commit 8ea4679

Browse files
committed
fix wrong relation dynamic height
1 parent 00f4d15 commit 8ea4679

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/11_ElementsOverview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Build a Parallax Container.
320320
| Name | Type | Description | Default Value | Frontend
321321
|------|------|-----------------------------|---------------|-------------------------------|
322322
| `template` | select | Define a Parallax Template | no-template | `pimcore_select('template')` |
323-
| `background_image` | href | Define a background image | - | `pimcore_href('background_image')` |
323+
| `background_image` | relation | Define a background image | - | `pimcore_relation('background_image')` |
324324
| `background_color` | select | Define a background color | no-background-color | `pimcore_select('background_color')` |
325325
| `image_front` | parallaximage | Parallax Images behind content | - | *not available* |
326326
| `image_behind` | parallaximage | Parallax Images in front of content | - | *not available* |
@@ -357,7 +357,7 @@ Build a Parallax Container Section.
357357
|------|------|-----------------------------|---------------|-------------------------------|
358358
| `template` | select | Define a Parallax Section Template | no-template | `pimcore_select('template')` |
359359
| `container_type` | select | Define a Container Type | none | `pimcore_select('container_type')` |
360-
| `background_image` | href | Define a background image | - | `pimcore_href('background_image')` |
360+
| `background_image` | relation | Define a background image | - | `pimcore_relation('background_image')` |
361361
| `background_color` | select | Define a background color | no-background-color | `pimcore_select('background_color')` |
362362
| `additional_classes` | select | Add custom classes | - | see [section additional classes](#additional-classes) |
363363

src/ToolboxBundle/Builder/BrickConfigBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ private function canHaveDynamicWidth($type)
197197
'multihref',
198198
'relations',
199199
'href',
200+
'relation',
200201
'image',
201202
'input',
202203
'multiselect',
@@ -226,7 +227,7 @@ private function canHaveDynamicHeight($type)
226227
{
227228
return in_array($type, [
228229
'multihref',
229-
'relation',
230+
'relations',
230231
'image',
231232
'multiselect',
232233
'embed',

0 commit comments

Comments
 (0)