From e061ba812323f277d91bb562a5250f30b6f16331 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 2 Mar 2023 14:48:36 +0100 Subject: [PATCH 1/2] :bug: Fix problem with shadows and blur on multiple selection --- CHANGES.md | 1 + common/src/app/common/pages/common.cljc | 4 ++++ .../main/ui/workspace/sidebar/options/shapes/multiple.cljs | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 83eeaef7eb..15d3ca5dd8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,7 @@ ### :bug: Bugs fixed - Fix copy and paste very nested inside itself [Taiga #4848](https://tree.taiga.io/project/penpot/issue/4848) - Fix custom fonts not rendered correctly [Taiga #4874](https://tree.taiga.io/project/penpot/issue/4874) +- Fix problem with shadows and blur on multiple selection ## 1.17.2 diff --git a/common/src/app/common/pages/common.cljc b/common/src/app/common/pages/common.cljc index 7e392cc92e..255e00a708 100644 --- a/common/src/app/common/pages/common.cljc +++ b/common/src/app/common/pages/common.cljc @@ -123,6 +123,10 @@ :blocked :hidden + :shadow + + :blur + :fills :fill-color :fill-opacity diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs index 7245fe2adb..0e0f7008c7 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/multiple.cljs @@ -40,8 +40,8 @@ :layer :shape :constraint :shape :fill :shape - :shadow :children - :blur :children + :shadow :shape + :blur :shape :stroke :shape :text :children :exports :shape From dec854a012c34adc27647f0303446e734aab1c44 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 2 Mar 2023 07:13:55 +0100 Subject: [PATCH 2/2] :bug: Fix full screen not clickable on inspect mode after user entered full screen --- frontend/resources/styles/main/layouts/inspect.scss | 4 ++-- frontend/resources/styles/main/partials/viewer-header.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/resources/styles/main/layouts/inspect.scss b/frontend/resources/styles/main/layouts/inspect.scss index d0815a3709..8b13d09f79 100644 --- a/frontend/resources/styles/main/layouts/inspect.scss +++ b/frontend/resources/styles/main/layouts/inspect.scss @@ -28,7 +28,7 @@ $width-settings-bar: 256px; top: 0; transition: top 400ms ease 300ms; margin-bottom: 0; - z-index: 2; + z-index: 10; } & .viewer-bottom { @@ -46,7 +46,7 @@ $width-settings-bar: 256px; top: -48px; left: 0; transition: top 400ms ease 300ms; - z-index: 2; + z-index: 10; margin-bottom: 48px; &::after { diff --git a/frontend/resources/styles/main/partials/viewer-header.scss b/frontend/resources/styles/main/partials/viewer-header.scss index f1dd412ce5..d8e15b3c3d 100644 --- a/frontend/resources/styles/main/partials/viewer-header.scss +++ b/frontend/resources/styles/main/partials/viewer-header.scss @@ -54,6 +54,7 @@ display: flex; justify-content: flex-end; position: relative; + z-index: 10; > * { margin-left: $size-5;