From ed1ec21002d9615bec5877de3fcb364125f3dd98 Mon Sep 17 00:00:00 2001 From: Felipe Rocha Date: Mon, 27 May 2024 09:13:33 -0300 Subject: [PATCH] fix: add extra margin to result title and badge container --- .../native/Result/__snapshots__/index.test.jsx.snap | 12 ++++++++++++ packages/yoga/src/Result/native/Result/index.jsx | 11 ++++++++--- packages/yoga/src/Result/native/Result/styles.jsx | 5 ----- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/packages/yoga/src/Result/native/Result/__snapshots__/index.test.jsx.snap b/packages/yoga/src/Result/native/Result/__snapshots__/index.test.jsx.snap index a329b076e4..7802f9cb15 100644 --- a/packages/yoga/src/Result/native/Result/__snapshots__/index.test.jsx.snap +++ b/packages/yoga/src/Result/native/Result/__snapshots__/index.test.jsx.snap @@ -533,11 +533,15 @@ exports[` should match snapshot 1`] = ` should match snapshot without attendence 1`] = ` } > should match snapshot without limitLabel prop 1`] = ` )} - + {title} @@ -50,7 +55,7 @@ const Result = ({ h="small" /> )} - + {subTitle && subTitle !== '' && ( {subTitle} diff --git a/packages/yoga/src/Result/native/Result/styles.jsx b/packages/yoga/src/Result/native/Result/styles.jsx index 37e9c370ce..4e1bf3a8c2 100644 --- a/packages/yoga/src/Result/native/Result/styles.jsx +++ b/packages/yoga/src/Result/native/Result/styles.jsx @@ -31,8 +31,3 @@ export const Content = styled.View` `; }} `; - -export const TitleAndBadgeContainer = styled(Box)` - flex-direction: row; - align-items: center; -`;