From 47c074d6fa08eb767a86f8490f7979b44dab5b8e Mon Sep 17 00:00:00 2001 From: Oleg Isonen Date: Mon, 22 Apr 2024 10:42:27 +0200 Subject: [PATCH] fix: Fix page settings icon button color (#3220) ## Description Wrong color was used on the active item image ## Steps for reproduction 1. click button 2. expect xyz ## 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/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 --- .../app/builder/features/sidebar-left/panels/pages/pages.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/builder/app/builder/features/sidebar-left/panels/pages/pages.tsx b/apps/builder/app/builder/features/sidebar-left/panels/pages/pages.tsx index 7dcfeb6817f5..c91d5cce0b36 100644 --- a/apps/builder/app/builder/features/sidebar-left/panels/pages/pages.tsx +++ b/apps/builder/app/builder/features/sidebar-left/panels/pages/pages.tsx @@ -92,7 +92,6 @@ const ItemSuffix = ({ onClick={() => onEdit(isEditing ? undefined : itemId)} ref={buttonRef} icon={isEditing ? : } - variant={isParentSelected ? "contrast" : "normal"} /> );