0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

🐛 Fix issue in workspace sidebar scroll (check it in assets)

This commit is contained in:
Andrés Moya 2020-08-14 14:34:23 +02:00 committed by Andrey Antukh
parent 9d416cae4c
commit 8fbc54e03c
2 changed files with 13 additions and 5 deletions

View file

@ -118,6 +118,11 @@
padding: $small;
font-size: $fs11;
color: $color-gray-20;
/* TODO: see if this is useful, or is better to leave only
one scroll bar in the whole sidebar
(also see .group-list) */
// max-height: 30rem;
// overflow-y: scroll;
.group-title {
display: flex;
@ -187,10 +192,13 @@
}
}
.group-list {
max-height: 30rem;
overflow-y: scroll;
}
/* TODO: see if this is useful, or is better to leave only
one scroll bar in the whole sidebar
(also see .asset-group) */
// .group-list {
// max-height: 30rem;
// overflow-y: scroll;
// }
.group-list-item {
display: flex;

View file

@ -17,6 +17,7 @@ $width-settings-bar: 15rem;
right: 0;
width: $width-settings-bar;
z-index: 10;
overflow-y: auto;
&.settings-bar-left {
border-left: none;
@ -59,7 +60,6 @@ $width-settings-bar: 15rem;
flex-direction: column;
overflow: hidden;
padding-top: 40px;
height: 100%;