From 56907206526bb1d2a2e4a8e8756d98e23bb0ab9b Mon Sep 17 00:00:00 2001 From: JimmFly Date: Tue, 29 Oct 2024 04:53:32 +0000 Subject: [PATCH] chore: adjust floating sidebar style (#8619) close PD-1810 ![CleanShot 2024-10-28 at 17 43 55@2x](https://github.com/user-attachments/assets/e75da922-957f-4596-94ff-a8352b0c7e64) --- .../component/src/components/resize-panel/resize-panel.css.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/component/src/components/resize-panel/resize-panel.css.ts b/packages/frontend/component/src/components/resize-panel/resize-panel.css.ts index 36668728ca..b49974fb59 100644 --- a/packages/frontend/component/src/components/resize-panel/resize-panel.css.ts +++ b/packages/frontend/component/src/components/resize-panel/resize-panel.css.ts @@ -30,7 +30,7 @@ export const root = style({ }, '&[data-open="true"][data-handle-position="right"][data-is-floating="true"]': { - transform: `translateX(${panelWidthVar})`, + transform: `translateX(calc(${panelWidthVar} + 4px))`, }, '&[data-open="true"][data-handle-position="left"][data-is-floating="true"]': {