mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 10:06:11 +02: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 {
|
.auth {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: auto;
|
grid-template-rows: auto;
|
||||||
grid-template-columns: 510px auto;
|
grid-template-columns: 33% auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-sidebar {
|
.auth-sidebar {
|
||||||
|
|
|
@ -434,7 +434,7 @@
|
||||||
width: calc(100% - 12px);
|
width: calc(100% - 12px);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
top: auto;
|
top: auto;
|
||||||
color: #b1b2b5;
|
color: $color-white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -466,7 +466,7 @@
|
||||||
|
|
||||||
.input-text {
|
.input-text {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
color: #b1b2b5;
|
color: $color-white;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,11 +91,6 @@
|
||||||
;; WIDTH & HEIGHT
|
;; WIDTH & HEIGHT
|
||||||
[:div.row-flex
|
[:div.row-flex
|
||||||
[:span.element-set-subtitle (tr "workspace.options.size")]
|
[: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
|
[:div.input-element.pixels
|
||||||
[:> numeric-input {:min 1
|
[:> numeric-input {:min 1
|
||||||
:on-click select-all
|
:on-click select-all
|
||||||
|
@ -104,14 +99,19 @@
|
||||||
(math/precision 2)
|
(math/precision 2)
|
||||||
(d/coalesce-str "1"))}]]
|
(d/coalesce-str "1"))}]]
|
||||||
|
|
||||||
|
|
||||||
[:div.input-element.pixels
|
[:div.input-element.pixels
|
||||||
[:> numeric-input {:min 1
|
[:> numeric-input {:min 1
|
||||||
:on-click select-all
|
:on-click select-all
|
||||||
:on-change on-height-change
|
:on-change on-height-change
|
||||||
:value (-> (:height shape)
|
:value (-> (:height shape)
|
||||||
(math/precision 2)
|
(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
|
;; POSITION
|
||||||
[:div.row-flex
|
[:div.row-flex
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue