Skip to content

Commit

Permalink
Fix: Increase container horizontal padding (gutters & margins) (adapt…
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartNicholls authored Jul 18, 2023
1 parent ea399bc commit 3ab5675
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions less/_defaults/_spacing-containers.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
@menu-padding-hoz: 0;

@menu-header-padding-ver: 2rem;
@menu-header-padding-hoz: .5rem;
@menu-header-padding-hoz: 1rem;

@menu-item-padding-ver: 1rem;
@menu-item-padding-hoz: .5rem;

@menu-item-container-margin: 1.5rem;

Expand All @@ -32,27 +35,27 @@
@page-padding-hoz: 0;

@page-header-padding-ver: 2rem;
@page-header-padding-hoz: .5rem;
@page-header-padding-hoz: 1rem;

// Article header padding
// --------------------------------------------------
@article-header-padding-ver: 0;
@article-header-padding-hoz: .5rem;
@article-header-padding-hoz: 1rem;

// Block padding
// --------------------------------------------------
@block-padding-ver: 4rem;
@block-padding-hoz: .5rem;
@block-padding-hoz: 1rem;

// Component padding
// --------------------------------------------------
@component-padding-ver: .5rem;
@component-padding-hoz: .5rem;
@component-padding-ver: 1rem;
@component-padding-hoz: 1rem;

// Notify padding
// --------------------------------------------------
@notify-padding-ver: 4rem;
@notify-padding-hoz: .5rem;
@notify-padding-hoz: 1rem;

// Drawer container
// --------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion less/plugins/adapt-contrib-boxmenu/boxMenuItem.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.boxmenu-item {
&__inner {
margin: 0 0.5rem 1rem;
margin: 0 @menu-item-padding-hoz @menu-item-padding-ver;
padding: 1rem;
background-color: @menu-item;
color: @menu-item-inverted;
Expand Down

0 comments on commit 3ab5675

Please sign in to comment.