Skip to content

Commit

Permalink
1145: Adjust header-v2 margin, container widths and aside layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
yepzdk committed Apr 10, 2024
1 parent b209e64 commit 8283768
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
@use "sass:map";

/* Set container max widths only on lg and xl to utilize more of the screen on small devices */
$container-max-widths: (
lg: 960px,
xl: 1140px
);

/* stylelint-disable color-no-hex */
$white: #fff;
$gray-100: #f6f6f6;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
@include media-breakpoint-up(md) {
padding-top: $spacer * 5;
padding-bottom: $spacer * 5;
margin-left: 5vw;
margin-right: 5vw;
margin-left: calc($spacer + 2vw);
margin-right: calc($spacer + 2vw);
margin-top: -$spacer * 5;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
#}

<div class="aside-block p-3">
<div class="aside-block p-3 p-md-5">
{% for item in items %}
{% if item.content.field_department %}
<div class="text-primary">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
#}
<div class="d-flex flex-column sticky-top">
<nav class="navbar navbar-expand-md navbar-light bg-white">
<nav class="navbar navbar-expand-lg navbar-light bg-white">
<div class="container">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#block-navigation" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="col-md-8">
{{ content|without('field_project_image', 'field_short_description', 'field_aside_block', 'field_content_sections', 'published_at') }}
</div>
<div class="offset-md-1 col-md-3">
<div class="col-md-4 pt-md-3">
{{ content.field_aside_block }}
</div>
</div>
Expand Down

0 comments on commit 8283768

Please sign in to comment.