Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
feat(nav): make list scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
herteleo committed Apr 19, 2019
1 parent ba35c4b commit ec3b34c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/TabsNav.vue
Expand Up @@ -39,7 +39,7 @@ export default {

<style lang="postcss" module>
.nav {
@apply flex flex-col;
@apply flex flex-col p-1 overflow-y-auto;
}
.drag {
Expand Down
6 changes: 5 additions & 1 deletion src/components/TabsNavItem.vue
Expand Up @@ -47,10 +47,14 @@ export default {
<style lang="postcss" module>
.item {
@apply
flex items-center p-2 mx-1 mt-1
flex flex-no-shrink items-center p-2
text-grey-dark text-left rounded-sm;
}
.item + .item {
@apply mt-1;
}
.active {
@apply text-grey-light bg-grey-darkest shadow;
}
Expand Down

0 comments on commit ec3b34c

Please sign in to comment.