diff --git a/assets/styles/components/_layout.scss b/assets/styles/components/_layout.scss index 3aa1fde..31bd5e9 100644 --- a/assets/styles/components/_layout.scss +++ b/assets/styles/components/_layout.scss @@ -3,6 +3,7 @@ --space: 15px; --avatar-size: 35px; --sidebar-width: 210px; + --controller-layer: 10; @include breakpoint(medium) { --avatar-size: 40px; @@ -142,7 +143,7 @@ top: 0; transition: min-height $ease; width: calc(100% - var(--sidebar-width)); - z-index: 10; + z-index: var(--controller-layer); @include breakpoint(medium down) { width: 100vw; @@ -177,11 +178,6 @@ } } -.sidebar { - flex-shrink: 0; - width: var(--sidebar-width); -} - .icon--title { align-items: center; display: flex; diff --git a/components/LeftSidebar.vue b/components/LeftSidebar.vue new file mode 100644 index 0000000..7399a7d --- /dev/null +++ b/components/LeftSidebar.vue @@ -0,0 +1,133 @@ + + + + + diff --git a/layouts/default.vue b/layouts/default.vue index a94c10f..ee77883 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,6 +1,7 @@