From 7bb9522acbbf7a85019387beb269b04b0fb0b512 Mon Sep 17 00:00:00 2001 From: atanasster Date: Mon, 27 Apr 2020 21:54:04 -0400 Subject: [PATCH] fix: icon buttons reduced padding --- ui/blocks/src/Playground/Playground.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/ui/blocks/src/Playground/Playground.tsx b/ui/blocks/src/Playground/Playground.tsx index 2d7dbc469..019cd5a50 100644 --- a/ui/blocks/src/Playground/Playground.tsx +++ b/ui/blocks/src/Playground/Playground.tsx @@ -14,13 +14,17 @@ import { Zoom, } from '@component-controls/components'; -import { Button, useThemeUI } from 'theme-ui'; +import { Button, ButtonProps, useThemeUI } from 'theme-ui'; import { StoryBlockContainer, StoryBlockContainerProps, } from '../BlockContainer'; import { StorySource } from '../StorySource'; +const IconButton = (props: ButtonProps) => ( + + ), id: 'zoomreset', group: 'zoom', }, { title: ( - + ), id: 'zoomout', group: 'zoom', }, { title: ( - + ), id: 'zoomin', group: 'zoom',