mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 03:02:28 +02:00
🐛 Fix small interface errors
This commit is contained in:
parent
dcd347ab4f
commit
617edd0fa8
42 changed files with 338 additions and 228 deletions
|
@ -85,6 +85,7 @@
|
|||
|
||||
.big-text {
|
||||
@include inspectValue;
|
||||
color: var(--palette-text-color);
|
||||
height: $s-16;
|
||||
}
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -51,7 +51,6 @@
|
|||
}
|
||||
.checked-element {
|
||||
@extend .dropdown-element-base;
|
||||
|
||||
.icon {
|
||||
@include flexCenter;
|
||||
height: $s-24;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue