Skip to content

Commit

Permalink
DROOP-1081: Widescreen header image takes all viewport width
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-odorski-droptica committed Jan 24, 2024
1 parent b2ad091 commit ede9826
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@
{{ title_suffix }}

<div {{ bem('content', [], base_class) }}>
<div {{ bem('header', [], base_class, ['container']) }}>
<div {{ bem('header', [], base_class) }}>
<div {{ bem('header-wrapper', [], base_class, ['row']) }}>
<div {{ bem('header-column', [], base_class, ['col-12']) }}>
{% block content_header %}
{% block content_header_media_icon %}
{% endblock %}
<div {{ bem('header-title-and-descrition', [], base_class, ['container']) }}>
{% block content_header %}
{% endblock %}

{% include '@droopler_theme/base/divider/divider.twig' %}
{% include '@droopler_theme/base/divider/divider.twig' %}

{% block content %}
{% endblock %}
{% block content %}
{% endblock %}
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

{% block component_content %}
{% embed '@droopler_theme/d-p-tiles/d-p-tiles.twig' %}

{% block content_header_media_icon %}
{{ content.group_d_tiles_content_header.field_d_media_icon }}
{% endblock %}

{% block content_header %}
{{ content.group_d_tiles_content_header }}
{{ content.group_d_tiles_content_header|without('field_d_media_icon') }}
{% endblock %}

{% block content %}
Expand Down

0 comments on commit ede9826

Please sign in to comment.