generated from Seekra/repository-template
feat(sidebar): decrease horizontal padding when sidebar is not expanded
Set the horizontal padding of the unexpanded sidebar to 1em.
This commit is contained in:
@@ -56,6 +56,10 @@ const toggleSidebar = function toggleSidebar () {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.sidebar:not(.expanded) .sidebar-controls {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
@media (max-width: 48rem) {
|
||||
.sidebar:not(.expanded) .sidebar-expand-button {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user