0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

Add styles to stroke options

This commit is contained in:
Juan de la Cruz 2020-04-09 09:43:04 +02:00
parent 4073b3a981
commit b241e26285
3 changed files with 9 additions and 6 deletions

View file

@ -68,9 +68,9 @@
.element-set-title {
color: $color-gray-10;
display: flex;
font-size: $fs14;
margin-top: $x-small;
padding: $x-small;
padding: $small $x-small;
width: 100%;
}

View file

@ -53,6 +53,7 @@
(def logo (icon-xref :uxbox-logo))
(def logo-icon (icon-xref :uxbox-logo-icon))
(def mail (icon-xref :mail))
(def minus (icon-xref :minus))
(def move (icon-xref :move))
(def options (icon-xref :options))
(def organize (icon-xref :organize))

View file

@ -70,8 +70,9 @@
(if (not= :none (:stroke-style shape :none))
[:div.element-set
[:div.element-set-title (t locale "workspace.options.stroke")]
[:div.add-page {:on-click on-del-stroke} i/close]
[:div.element-set-title
[:span (t locale "workspace.options.stroke")]
[:div.add-page {:on-click on-del-stroke} i/minus]]
[:div.element-set-content
@ -124,5 +125,6 @@
;; NO STROKE
[:div.element-set
[:div.element-set-title (t locale "workspace.options.stroke")]
[:div.add-page {:on-click on-add-stroke} i/close]])))
[:div.element-set-title
[:span (t locale "workspace.options.stroke")]
[:div.add-page {:on-click on-add-stroke} i/close]]])))