mirror of
https://github.com/penpot/penpot.git
synced 2025-04-10 22:11:23 -05:00
add ui fixes
This commit is contained in:
parent
a42d87742f
commit
09c63c636f
3 changed files with 10 additions and 10 deletions
|
@ -10,7 +10,7 @@
|
|||
.auth {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: 510px auto;
|
||||
grid-template-columns: 33% auto;
|
||||
}
|
||||
|
||||
.auth-sidebar {
|
||||
|
|
|
@ -434,7 +434,7 @@
|
|||
width: calc(100% - 12px);
|
||||
height: 100%;
|
||||
top: auto;
|
||||
color: #b1b2b5;
|
||||
color: $color-white;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -466,7 +466,7 @@
|
|||
|
||||
.input-text {
|
||||
padding-left: 0;
|
||||
color: #b1b2b5;
|
||||
color: $color-white;
|
||||
background-color: transparent;
|
||||
height: 30px;
|
||||
}
|
||||
|
|
|
@ -91,11 +91,6 @@
|
|||
;; WIDTH & HEIGHT
|
||||
[:div.row-flex
|
||||
[:span.element-set-subtitle (tr "workspace.options.size")]
|
||||
[:div.lock-size {:class (when (:proportion-lock shape) "selected")
|
||||
:on-click on-proportion-lock-change}
|
||||
(if (:proportion-lock shape)
|
||||
i/lock
|
||||
i/unlock)]
|
||||
[:div.input-element.pixels
|
||||
[:> numeric-input {:min 1
|
||||
:on-click select-all
|
||||
|
@ -104,14 +99,19 @@
|
|||
(math/precision 2)
|
||||
(d/coalesce-str "1"))}]]
|
||||
|
||||
|
||||
[:div.input-element.pixels
|
||||
[:> numeric-input {:min 1
|
||||
:on-click select-all
|
||||
:on-change on-height-change
|
||||
:value (-> (:height shape)
|
||||
(math/precision 2)
|
||||
(d/coalesce-str "1"))}]]]
|
||||
(d/coalesce-str "1"))}]]
|
||||
|
||||
[:div.lock-size {:class (when (:proportion-lock shape) "selected")
|
||||
:on-click on-proportion-lock-change}
|
||||
(if (:proportion-lock shape)
|
||||
i/lock
|
||||
i/unlock)]]
|
||||
|
||||
;; POSITION
|
||||
[:div.row-flex
|
||||
|
|
Loading…
Add table
Reference in a new issue