mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 06:31:38 +02:00
🐛 Fix component list on update
This commit is contained in:
parent
937713311e
commit
eef42acf79
2 changed files with 7 additions and 1 deletions
|
@ -65,6 +65,7 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 448px;
|
width: 448px;
|
||||||
background-color: $color-white;
|
background-color: $color-white;
|
||||||
|
max-height: 700px;
|
||||||
|
|
||||||
.modal-header {
|
.modal-header {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -104,6 +105,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.component-list {
|
||||||
|
max-height: 408px;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
.modal-item-element {
|
.modal-item-element {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-bottom: 3px;
|
padding-bottom: 3px;
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
(when (> (count items) 0)
|
(when (> (count items) 0)
|
||||||
[:*
|
[:*
|
||||||
[:p (tr "ds.component-subtitle")]
|
[:p (tr "ds.component-subtitle")]
|
||||||
[:ul
|
[:ul.component-list
|
||||||
(for [item items]
|
(for [item items]
|
||||||
[:li.modal-item-element
|
[:li.modal-item-element
|
||||||
[:span.modal-component-icon i/component]
|
[:span.modal-component-icon i/component]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue