mirror of
https://github.com/penpot/penpot.git
synced 2025-02-02 04:19:08 -05:00
Merge pull request #5163 from penpot/palba-bugfixing-011
Palba bugfixing 011
This commit is contained in:
commit
784274f8ae
4 changed files with 28 additions and 7 deletions
|
@ -36,6 +36,8 @@
|
||||||
- Fix problem with precision on boolean calculation [Taiga #8482](https://tree.taiga.io/project/penpot/issue/8482)
|
- Fix problem with precision on boolean calculation [Taiga #8482](https://tree.taiga.io/project/penpot/issue/8482)
|
||||||
- Fix problem when translating multiple path points [Github #4459](https://github.com/penpot/penpot/issues/4459)
|
- Fix problem when translating multiple path points [Github #4459](https://github.com/penpot/penpot/issues/4459)
|
||||||
- Fix problem on importing (and exporting) files with flows [Taiga #8914](https://tree.taiga.io/project/penpot/issue/8914)
|
- Fix problem on importing (and exporting) files with flows [Taiga #8914](https://tree.taiga.io/project/penpot/issue/8914)
|
||||||
|
- Fix Internal Error page: "go to your penpot" wrong design [Taiga #8922](https://tree.taiga.io/project/penpot/issue/8922)
|
||||||
|
- Fix "Done" button on toolbar on inspect mode should go to design mode [Taiga #8933](https://tree.taiga.io/project/penpot/issue/8933)
|
||||||
|
|
||||||
## 2.2.1
|
## 2.2.1
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
[app.main.ui.auth.recovery-request :refer [recovery-request-page recovery-sent-page]]
|
[app.main.ui.auth.recovery-request :refer [recovery-request-page recovery-sent-page]]
|
||||||
[app.main.ui.auth.register :as register]
|
[app.main.ui.auth.register :as register]
|
||||||
[app.main.ui.dashboard.sidebar :refer [sidebar]]
|
[app.main.ui.dashboard.sidebar :refer [sidebar]]
|
||||||
|
[app.main.ui.ds.foundations.assets.icon :refer [icon*]]
|
||||||
|
[app.main.ui.ds.foundations.assets.raw-svg :refer [raw-svg*]]
|
||||||
[app.main.ui.icons :as i]
|
[app.main.ui.icons :as i]
|
||||||
[app.main.ui.viewer.header :as viewer.header]
|
[app.main.ui.viewer.header :as viewer.header]
|
||||||
[app.util.dom :as dom]
|
[app.util.dom :as dom]
|
||||||
|
@ -43,9 +45,9 @@
|
||||||
[:button
|
[:button
|
||||||
{:class (stl/css :exception-header)
|
{:class (stl/css :exception-header)
|
||||||
:on-click on-nav-root}
|
:on-click on-nav-root}
|
||||||
i/logo-icon
|
[:> raw-svg* {:id "penpot-logo-icon" :class (stl/css :penpot-logo)}]
|
||||||
(when profile-id
|
(when profile-id
|
||||||
(str "< " (tr "not-found.no-permission.go-dashboard")))]
|
[:div {:class (stl/css :go-back-wrapper)} [:> icon* {:id "arrow" :class (stl/css :back-arrow)}] [:span (tr "not-found.no-permission.go-dashboard")]])]
|
||||||
[:div {:class (stl/css :deco-before)} i/logo-error-screen]
|
[:div {:class (stl/css :deco-before)} i/logo-error-screen]
|
||||||
(when-not profile-id
|
(when-not profile-id
|
||||||
[:button {:class (stl/css :login-header)
|
[:button {:class (stl/css :login-header)
|
||||||
|
|
|
@ -66,6 +66,7 @@
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
|
padding-bottom: $s-28;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -82,12 +83,25 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
svg {
|
.penpot-logo {
|
||||||
fill: var(--color-foreground-primary);
|
fill: var(--color-foreground-primary);
|
||||||
width: $s-48;
|
width: $s-48;
|
||||||
height: auto;
|
height: $s-48;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.back-arrow {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.go-back-wrapper {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: $s-8;
|
||||||
|
margin-left: $s-12;
|
||||||
|
font-size: $fs-14;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-header {
|
.login-header {
|
||||||
|
|
|
@ -138,6 +138,8 @@
|
||||||
first-selected-shape (first selected-shapes)
|
first-selected-shape (first selected-shapes)
|
||||||
shape-parent-frame (cfh/get-frame objects (:frame-id first-selected-shape))
|
shape-parent-frame (cfh/get-frame objects (:frame-id first-selected-shape))
|
||||||
|
|
||||||
|
options-mode (mf/deref refs/options-mode-global)
|
||||||
|
|
||||||
on-change-tab
|
on-change-tab
|
||||||
(fn [options-mode]
|
(fn [options-mode]
|
||||||
(let [options-mode (keyword options-mode)]
|
(let [options-mode (keyword options-mode)]
|
||||||
|
@ -187,6 +189,7 @@
|
||||||
[:> tab-switcher* {:tabs tabs
|
[:> tab-switcher* {:tabs tabs
|
||||||
:default-selected "info"
|
:default-selected "info"
|
||||||
:on-change-tab on-change-tab
|
:on-change-tab on-change-tab
|
||||||
|
:selected (name options-mode)
|
||||||
:class (stl/css :options-tab-switcher)}]]))
|
:class (stl/css :options-tab-switcher)}]]))
|
||||||
|
|
||||||
;; TODO: this need optimizations, selected-objects and
|
;; TODO: this need optimizations, selected-objects and
|
||||||
|
|
Loading…
Add table
Reference in a new issue