From 842b76f3c1290a34982fd63ed1703a883ff12619 Mon Sep 17 00:00:00 2001 From: Akshay Gupta Date: Fri, 7 Jun 2024 01:37:26 +0530 Subject: [PATCH] replace 30px with variables --- frontend/src/app/main/ui/workspace/tokens/context_menu.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/context_menu.scss b/frontend/src/app/main/ui/workspace/tokens/context_menu.scss index 9471c9a65..169e04907 100644 --- a/frontend/src/app/main/ui/workspace/tokens/context_menu.scss +++ b/frontend/src/app/main/ui/workspace/tokens/context_menu.scss @@ -33,7 +33,7 @@ } .context-list > li:nth-child(-n + 3) > span:first-of-type { - margin: 30px; + margin: calc(($s-32 + $s-28) / 2); } // TODO: Allow selected items wihtout an icon for the context menu