.A { border: 0px solid; border-radius: 20px; margin: 10px; background-color: white; padding: 15px; } .A P { text-align: center; } .Days { display: inline-grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(5, 1fr); height: 200px; width: 250px; } .Down { border-radius: 20px; display: inline-grid; grid-column: auto; height: 200%; width: 20%; } .Allround { position: relative; max-height : 72vh; overflow-y: scroll; overflow-anchor: none; }