Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

style(scanner-effect): remove padding from ToolButton of Scanner-effect (#7205)

brios732a6025038e
diff --git a/frontend/editor/src/core/components/tools/toolPicker/ToolButton.tsx b/frontend/editor/src/core/components/tools/toolPicker/ToolButton.tsx
index 78c573bb38..4792fd721a 100644
--- a/frontend/editor/src/core/components/tools/toolPicker/ToolButton.tsx
+++ b/frontend/editor/src/core/components/tools/toolPicker/ToolButton.tsx
@@ -286,7 +286,7 @@ const ToolButton: React.FC<ToolButtonProps> = ({
accent="neutral"
onClick={() => handleClick(id)}
size="sm"
- p="sm"
+ p="none"
fullWidth
justify="start"
className="tool-button"
@@ -297,6 +297,7 @@ const ToolButton: React.FC<ToolButtonProps> = ({
borderRadius: 0,
cursor: visuallyUnavailable ? "not-allowed" : undefined,
overflow: "visible",
+ ...selectedBg,
}}
>
{buttonContent}