🐛 Fix component list on update

This commit is contained in:
Eva 2023-01-09 12:50:42 +01:00
parent 937713311e
commit eef42acf79
2 changed files with 7 additions and 1 deletions

View file

@ -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;

View file

@ -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]