From bc020f49dbddbfd5abf4c4db0b1d886a77f9e8b5 Mon Sep 17 00:00:00 2001 From: Oprysk Date: Wed, 5 Jan 2022 16:02:17 +0200 Subject: [PATCH] fix alignment --- src/components/Fields/ArrayItemDetails.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Fields/ArrayItemDetails.tsx b/src/components/Fields/ArrayItemDetails.tsx index 7a00d322..0c2716b1 100644 --- a/src/components/Fields/ArrayItemDetails.tsx +++ b/src/components/Fields/ArrayItemDetails.tsx @@ -20,8 +20,6 @@ export function ArrayItemDetails({ schema }: { schema: SchemaModel }) { } const Wrapper = styled(TypePrefix)` - display: inline-block; margin: 0 5px; - - height: calc(${({ theme }) => theme.typography.code.fontSize} + 4px); + vertical-align: text-top; `;