diff --git a/web/themes/custom/hoeringsportal/assets/css/layout/_aside.scss b/web/themes/custom/hoeringsportal/assets/css/layout/_aside.scss index 15ae2cee..afd21b76 100755 --- a/web/themes/custom/hoeringsportal/assets/css/layout/_aside.scss +++ b/web/themes/custom/hoeringsportal/assets/css/layout/_aside.scss @@ -1,14 +1,8 @@ -.group-right { +.aside-contact-info-text { + background-color: $color-petroleum-100; + padding: $spacer; + @include media-breakpoint-up(md) { padding: $spacer * 2.5 0 $spacer * 2.5 $spacer * 2.5; } - - padding-top: $spacer * 2; - padding-bottom: $spacer * 2; -} - -.aside-block { - background-color: $color-petroleum-100; - - } diff --git a/web/themes/custom/hoeringsportal/assets/css/layout/_page-project.scss b/web/themes/custom/hoeringsportal/assets/css/layout/_page-project.scss index 062c13d9..9357d774 100644 --- a/web/themes/custom/hoeringsportal/assets/css/layout/_page-project.scss +++ b/web/themes/custom/hoeringsportal/assets/css/layout/_page-project.scss @@ -6,7 +6,7 @@ font-size: clamp(1.25rem, calc(1.25vw + $font-size-base), 1.6rem); } - h2 + p strong { + .abstract { font-size: clamp(1.1rem, 0.8vw + 1rem, 1.3rem); font-weight: normal; line-height: 1.6; diff --git a/web/themes/custom/hoeringsportal/templates/block/block-content--aside-contact-info.html.twig b/web/themes/custom/hoeringsportal/templates/block/block-content--aside-contact-info.html.twig index d8f3b1bd..50289f4a 100644 --- a/web/themes/custom/hoeringsportal/templates/block/block-content--aside-contact-info.html.twig +++ b/web/themes/custom/hoeringsportal/templates/block/block-content--aside-contact-info.html.twig @@ -28,32 +28,36 @@ * @ingroup themeable */ #} - -
+ {# @TODO Which is better; `nl2br` or `style="white-space: pre-line"` #} + {{ block_content.field_address.value|nl2br }} +
+ {% endif %} + {% if block_content.field_phone_number.value %} +{{ paragraph.field_abstract.value }}
+ {% endif %} + {{ content.field_body }} +