chore: Show scrollbar for sidebar only on hover (#3688)

This commit is contained in:
Nithin David Thomas 2022-01-05 09:37:43 +05:30 committed by GitHub
parent e775d22b98
commit fade94658a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 20 deletions

View file

@ -191,16 +191,6 @@ export default {
background: var(--white);
display: flex;
}
.secondary-menu {
background: var(--white);
border-right: 1px solid var(--s-50);
height: 100vh;
width: 19rem;
flex-shrink: 0;
overflow: auto;
padding: var(--space-small);
}
</style>
<style lang="scss">

View file

@ -168,3 +168,18 @@ export default {
},
};
</script>
<style lang="scss" scoped>
.secondary-menu {
background: var(--white);
border-right: 1px solid var(--s-50);
height: 100vh;
width: 19rem;
flex-shrink: 0;
overflow: hidden;
padding: var(--space-small);
&:hover {
overflow: auto;
}
}
</style>