From 21073ecaa5fc4934f156e87ced1165487ec24227 Mon Sep 17 00:00:00 2001 From: Oleg Isonen Date: Wed, 12 Apr 2023 20:02:15 +0200 Subject: [PATCH] Top panel drop shadow (#1432) closes https://github.com/webstudio-is/webstudio-builder/issues/1419 ## Description 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. style panel shadow on the top panel ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio-builder/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `builder/env-check.js` if mandatory --- apps/builder/app/builder/features/style-panel/style-panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/builder/app/builder/features/style-panel/style-panel.tsx b/apps/builder/app/builder/features/style-panel/style-panel.tsx index 290a1bc0fc..61eb64878d 100644 --- a/apps/builder/app/builder/features/style-panel/style-panel.tsx +++ b/apps/builder/app/builder/features/style-panel/style-panel.tsx @@ -90,7 +90,7 @@ export const StylePanel = ({ selectedInstance, publish }: StylePanelProps) => { css={{ px: theme.spacing[9], pb: theme.spacing[9], - boxShadow: `0px 1px 0 ${theme.colors.panelOutline}`, + boxShadow: theme.shadows.panelSectionDropShadow, }} >