🐛 Fix small interface errors

This commit is contained in:
Eva 2023-11-15 17:04:22 +01:00 committed by Alonso Torres
parent dcd347ab4f
commit 617edd0fa8
42 changed files with 338 additions and 228 deletions

View file

@ -85,6 +85,7 @@
.big-text {
@include inspectValue;
color: var(--palette-text-color);
height: $s-16;
}

View file

@ -205,7 +205,7 @@
[:li
{:key (str element-id "-" index)
:class (stl/css-case :dropdown-element true
:is-selected (= value current-value))
:is-selected (= (dm/str value) current-value))
:data-value value
:on-click select-item}
[:span {:class (stl/css :label)} label]

View file

@ -36,7 +36,7 @@
}
.dropdown-element {
@extend .dropdown-element-base;
color: var(--menu-foreground-color);
color: var(--menu-foreground-color-rest);
.label {
flex-grow: 1;
width: 100%;
@ -52,6 +52,7 @@
}
&.is-selected {
color: var(--menu-foreground-color);
.check-icon svg {
stroke: var(--menu-foreground-color);
visibility: visible;

View file

@ -51,7 +51,6 @@
}
.checked-element {
@extend .dropdown-element-base;
.icon {
@include flexCenter;
height: $s-24;

View file

@ -22,12 +22,13 @@
(case (:type shape)
:frame (cond
(and (ctl/flex-layout? shape) (ctl/col? shape))
i/flex-vertical-refactor
(and (ctl/flex-layout? shape) (ctl/row? shape))
i/flex-horizontal-refactor
;; TODO: GRID ICON
(and (ctl/flex-layout? shape) (ctl/row? shape))
i/flex-vertical-refactor
(ctl/grid-layout? shape)
i/flex-grid-refactor
:else
i/board-refactor)
@ -35,7 +36,7 @@
:image i/img-refactor
:line (if (cts/has-images? shape) i/img-refactor i/path-refactor)
:circle (if (cts/has-images? shape) i/img-refactor i/elipse-refactor)
:path (if (cts/has-images? shape) i/img-refactor i/curve-refactor)
:path (if (cts/has-images? shape) i/img-refactor i/path-refactor)
:rect (if (cts/has-images? shape) i/img-refactor i/rectangle-refactor)
:text i/text-refactor
:group (if (:masked-group shape)