generated from Seekra/repository-template
Feat(sidebar): implement sidebar toggling #157
@@ -56,6 +56,10 @@ const toggleSidebar = function toggleSidebar () {
|
|||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar:not(.expanded) .sidebar-controls {
|
||||||
|
padding: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 48rem) {
|
@media (max-width: 48rem) {
|
||||||
.sidebar:not(.expanded) .sidebar-expand-button {
|
.sidebar:not(.expanded) .sidebar-expand-button {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ const toggleExpanded = function toggleExpanded () {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.layout-container {
|
.layout-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 72px 1fr;
|
grid-template-columns: calc(32px + 2em) 1fr;
|
||||||
grid-template-rows: auto 1fr;
|
grid-template-rows: auto 1fr;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
"sidebar-expand sidebar-expand"
|
"sidebar-expand sidebar-expand"
|
||||||
|
|||||||
Reference in New Issue
Block a user