.App { text-align: center; } .App-logo { height: 40vmin; pointer-events: none; } @media (prefers-reduced-motion: no-preference) { .App-logo { animation: App-logo-spin infinite 20s linear; } } .App-header { background-color: #282c34; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: calc(10px + 2vmin); color: white; } body { display: flex; flex-direction: column; min-height: 100vh; } .app-container { display: flex; flex-direction: column; flex: 1 0 auto; /* This will make sure this container takes all available vertical space */ } #root { display: flex; flex-grow: 1; }