stepper fix

master
Tudor Stanciu 2020-12-16 03:14:50 +02:00
parent 66721d451a
commit d6dde2e517
3 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
.App { .App {
text-align: center; text-align: center;
background-color: #282c34;
} }
.App-header { .App-header {
background-color: #282c34;
min-height: 100vh; min-height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -6,9 +6,7 @@ function App() {
return ( return (
<Suspense fallback={<div>Loading...</div>}> <Suspense fallback={<div>Loading...</div>}>
<div className="App"> <div className="App">
<header className="App-header"> <Main />
<Main />
</header>
</div> </div>
</Suspense> </Suspense>
); );

View File

@ -6,7 +6,9 @@ const Main = () => {
return ( return (
<> <>
<Stepper /> <Stepper />
<Switcher /> <header className="App-header">
<Switcher />
</header>
</> </>
); );
}; };