From 3c89dba913e523d5554d0210121babef22aa27fb Mon Sep 17 00:00:00 2001 From: Lukas Steiger Date: Fri, 4 Nov 2022 14:06:42 +0100 Subject: [PATCH] fix brackets --- content-elements/base/news-snippet/prototype/template.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content-elements/base/news-snippet/prototype/template.twig b/content-elements/base/news-snippet/prototype/template.twig index ba577ee..688fd3f 100644 --- a/content-elements/base/news-snippet/prototype/template.twig +++ b/content-elements/base/news-snippet/prototype/template.twig @@ -13,8 +13,8 @@ {% set newsSnippetFontSizeHeadline = (fontSizeHeadline ?: properties.fontSizeNewsHeadline) ?: 14 %} {% set newsSnippetFontSizeText = (fontSizeText ?: properties.fontSizeNewsText) ?: 14 %} {% set newsSnippetMarginBottom = (marginBottom ?: properties.baseMarginBottom) ?: 12 %} - {% set newsSnippetWidthLeft = (widthLeft ?: (properties.colTwoWideWidth) ?: 440) - 20 %} - {% set newsSnippetWidthRight = (widthRight ?: (properties.colTwoSlimWidth) ?: 220) - 20 %} + {% set newsSnippetWidthLeft = ((widthLeft ?: properties.colTwoWideWidth) ?: 440) - 20 %} + {% set newsSnippetWidthRight = ((widthRight ?: properties.colTwoSlimWidth) ?: 220) - 20 %}