Skip to content

Commit cedd8a0

Browse files
committed
Small header width adjustments.
1 parent 3428afb commit cedd8a0

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

web/themes/custom/hoeringsportal/assets/css/module/_header-v2.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@
3737
}
3838
}
3939

40+
@include media-breakpoint-up(xxl) {
41+
&.with-image {
42+
margin-left: auto;
43+
margin-right: auto;
44+
max-width: 1400px;
45+
}
46+
}
47+
4048
.type {
4149
color: $petroleum;
4250
}

web/themes/custom/hoeringsportal/templates/components/header-default.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% endblock %}
1919
{% block header_text_box %}
2020
<div class="content-wrapper position-relative {{ images ? 'with-image' : '' }} {{ type ?? 'type-default' }}">
21-
<div class="container">
21+
<div class="container px-md-5">
2222
{% if category %}
2323
<div class="small fw-semibold text-background-match">{{ category }}</div>
2424
{% endif %}

0 commit comments

Comments
 (0)