Loading modules/drowl_paragraphs_types/templates/paragraph--drowl-paragraphs-types--image-text.html.twig +2 −2 Original line number Diff line number Diff line Loading @@ -15,11 +15,11 @@ {% set image_rendered = drupal_image(raw_image_path, responsive_image_size, {alt: raw_image_alt}, responsive=true) %} {% if image_field_item %} {% if paragraph.field_image_clip_path.0 %} {% if paragraph.field_image_clip_path.0 and paragraph.field_image_clip_path.value.0 %} <style> .css-shape-{{ paragraph.id() }}{ {{ paragraph.field_image_clip_path.value }} {{ paragraph.field_image_clip_path.value|replace({"clip-path": "shape-outside"}) }} {{ paragraph.field_image_clip_path.value.0|replace({"clip-path": "shape-outside"}) }} } </style> {% endif %} Loading Loading
modules/drowl_paragraphs_types/templates/paragraph--drowl-paragraphs-types--image-text.html.twig +2 −2 Original line number Diff line number Diff line Loading @@ -15,11 +15,11 @@ {% set image_rendered = drupal_image(raw_image_path, responsive_image_size, {alt: raw_image_alt}, responsive=true) %} {% if image_field_item %} {% if paragraph.field_image_clip_path.0 %} {% if paragraph.field_image_clip_path.0 and paragraph.field_image_clip_path.value.0 %} <style> .css-shape-{{ paragraph.id() }}{ {{ paragraph.field_image_clip_path.value }} {{ paragraph.field_image_clip_path.value|replace({"clip-path": "shape-outside"}) }} {{ paragraph.field_image_clip_path.value.0|replace({"clip-path": "shape-outside"}) }} } </style> {% endif %} Loading