mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05:00
🐛 Fix issue in workspace sidebar scroll (check it in assets)
This commit is contained in:
parent
9d416cae4c
commit
8fbc54e03c
2 changed files with 13 additions and 5 deletions
|
@ -118,6 +118,11 @@
|
||||||
padding: $small;
|
padding: $small;
|
||||||
font-size: $fs11;
|
font-size: $fs11;
|
||||||
color: $color-gray-20;
|
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 {
|
.group-title {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -187,10 +192,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-list {
|
/* TODO: see if this is useful, or is better to leave only
|
||||||
max-height: 30rem;
|
one scroll bar in the whole sidebar
|
||||||
overflow-y: scroll;
|
(also see .asset-group) */
|
||||||
}
|
// .group-list {
|
||||||
|
// max-height: 30rem;
|
||||||
|
// overflow-y: scroll;
|
||||||
|
// }
|
||||||
|
|
||||||
.group-list-item {
|
.group-list-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -17,6 +17,7 @@ $width-settings-bar: 15rem;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: $width-settings-bar;
|
width: $width-settings-bar;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
&.settings-bar-left {
|
&.settings-bar-left {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
|
@ -59,7 +60,6 @@ $width-settings-bar: 15rem;
|
||||||
|
|
||||||
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow: hidden;
|
|
||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue