Skip to content

Commit

Permalink
Add paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Jan 20, 2024
1 parent 806f624 commit 8ad4508
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 col-8' : 'container col-8' %}
{% set container = theme.settings.fluid_container ? 'container-fluid col-8 px-5' : 'container col-8 px-5' %}

{# 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 col-md-8">
<div class="container-md col-md-8 px-md-5">
{% 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 col-8' : 'container col-8' %}
{% set container = theme.settings.fluid_container ? 'container-fluid col-8 px-5' : 'container col-8 px-5' %}
{% 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 col-md-8">
<div class="container-md col-md-8 px-md-5">
{% endif %}
{% if page.navigation_left %}
{{ page.navigation_left }}
Expand Down

0 comments on commit 8ad4508

Please sign in to comment.