Issue #3397532 by finnsky, smustgrave, markconroy: Fix Umami container max-width when toolbar or navigation expanded

merge-requests/6241/merge
nod_ 2024-02-27 17:27:24 +01:00
parent f4167b86b8
commit 16b96ada26
No known key found for this signature in database
GPG Key ID: 76624892606FA197
3 changed files with 18 additions and 16 deletions

View File

@ -50,7 +50,6 @@
.banner-block__inner {
display: flex;
align-items: center;
max-width: 1200px;
min-height: 54vw;
margin: auto;
padding: 0 4%;

View File

@ -7,9 +7,10 @@
*/
.container {
max-width: 1200px;
max-width: min(calc(100vw - var(--drupal-displace-offset-left, 0px) - var(--drupal-displace-offset-right, 0px) - 2rem), 1200px);
margin: auto;
}
/* Add responsive side gutters to the outer layout container 'main' at smaller sizes */
.main {
padding: 0 4%;

View File

@ -36,6 +36,7 @@
%}
<div{{ attributes.addClass(classes) }}>
<div class="container">
<div class="banner-block__inner">
{{ title_prefix }}
{% if label %}
@ -51,4 +52,5 @@
</div>
{% endblock %}
</div>
</div>
</div>