From 0249e4a778d71113991506fd91908d860e2c51aa Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Thu, 9 Jan 2025 18:01:35 +0700 Subject: [PATCH] dont use wrapper --- .../app/src/overlay/canvas/JoinPool/Preloader.tsx | 11 ++++------- packages/app/src/overlay/canvas/JoinPool/Wrappers.ts | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/app/src/overlay/canvas/JoinPool/Preloader.tsx b/packages/app/src/overlay/canvas/JoinPool/Preloader.tsx index b04ef7223..480be7edd 100644 --- a/packages/app/src/overlay/canvas/JoinPool/Preloader.tsx +++ b/packages/app/src/overlay/canvas/JoinPool/Preloader.tsx @@ -14,7 +14,6 @@ import { ButtonPrimary } from 'ui-buttons' import { Head, Preload, Title } from 'ui-core/canvas' import { useOverlay } from 'ui-overlay' import { planckToUnitBn } from 'utils' -import { JoinPoolInterfaceWrapper } from './Wrappers' export const Preloader = ({ performanceKey, @@ -73,12 +72,10 @@ export const Preloader = ({ })} - - - + ) } diff --git a/packages/app/src/overlay/canvas/JoinPool/Wrappers.ts b/packages/app/src/overlay/canvas/JoinPool/Wrappers.ts index 4d03b7b07..caaf4873d 100644 --- a/packages/app/src/overlay/canvas/JoinPool/Wrappers.ts +++ b/packages/app/src/overlay/canvas/JoinPool/Wrappers.ts @@ -8,7 +8,7 @@ export const JoinPoolInterfaceWrapper = styled.div` flex-flow: row wrap; flex-grow: 1; width: 100%; - flex-wrap: wrap; + > div { display: flex; &.main {