Skip to content

Commit

Permalink
Use columns instead of gutters
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Jan 20, 2024
1 parent 8809a05 commit 806f624
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/layout/page--node--landing-page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
* @see html.html.twig
*/
#}
{% set container = theme.settings.fluid_container ? 'container-fluid gx-5' : 'container gx-5' %}
{% set container = theme.settings.fluid_container ? 'container-fluid col-8' : 'container col-8' %}

{# Navbar #}
{% if page.navigation_left or page.navigation_collapsible or page.navigation_right %}
Expand All @@ -65,7 +65,7 @@
<header id="header" class="header" role="banner" aria-label="{{ 'Site header'|t}}">
<nav{{ navbar_attributes }}>
{% if container_navbar %}
<div class="container-md gx-md-5">
<div class="container-md col-md-8">
{% endif %}
{% if page.navigation_left %}
{{ page.navigation_left }}
Expand Down
4 changes: 2 additions & 2 deletions templates/layout/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
* @see html.html.twig
*/
#}
{% set container = theme.settings.fluid_container ? 'container-fluid gx-5' : 'container gx-5' %}
{% set container = theme.settings.fluid_container ? 'container-fluid col-8' : 'container col-8' %}
{% set has_sidebar_second = page.sidebar_second|render|striptags|trim is not empty %}
{# Navbar #}
{% if page.navigation_left or page.navigation_collapsible or page.navigation_right %}
Expand All @@ -65,7 +65,7 @@
<header id="header" class="header" role="banner" aria-label="{{ 'Site header'|t}}">
<nav{{ navbar_attributes }}>
{% if container_navbar %}
<div class="container-md gx-md-5">
<div class="container-md col-md-8">
{% endif %}
{% if page.navigation_left %}
{{ page.navigation_left }}
Expand Down

0 comments on commit 806f624

Please sign in to comment.