Skip to content

Commit

Permalink
add consistent padding for sidebar container
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Feb 22, 2024
1 parent f486b46 commit 762b61b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion addon/styles/components/es-sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
}

.es-sidebar {
padding: var(--spacing-4) var(--spacing-2);
background-color: var(--color-gray-200);
}

Expand Down
4 changes: 4 additions & 0 deletions addon/styles/sidebar-container.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
padding: var(--spacing-6) var(--grid-margin);
}

.sidebar-container > *:not(.es-sidebar-toggle) {
padding: var(--spacing-4) var(--spacing-2);
}

.sidebar-container > *:not(.es-sidebar):not(.es-sidebar-toggle) {
grid-column: 1 / span 2;
}
Expand Down

0 comments on commit 762b61b

Please sign in to comment.