Skip to content

Commit

Permalink
Adjust depending on layout
Browse files Browse the repository at this point in the history
  • Loading branch information
protitude committed Jun 12, 2024
1 parent 8551020 commit aff6eb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/04-templates/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ $main-width: calc(100% - (#{$sidebar-width} + #{$gutter}));
.phish-indicator {
margin-bottom: -12px;
}
&:has(.layout--twocol-section, .layout--threecol-section, .layout--fourcol-section, .dingo-layout) {
grid-column: 1 / 17;
}
}

.path-request-portal {
Expand Down
2 changes: 1 addition & 1 deletion templates/content/node.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
</footer>
{% endif %}

<div{{ content_attributes }}>
<div{{ content_attributes.addClass('layout-wrap') }}>
{{ content }}
</div>

Expand Down

0 comments on commit aff6eb2

Please sign in to comment.