If the user needs to start panning the grid around, we want their rack
to always stay visible.
border-color: #e67e22;
}
-/* Tile rack */
+/* Tile rack — sticks to the bottom of the viewport so it's always
+ visible while scrolling the board. */
.tile-rack {
display: flex;
flex-wrap: wrap;
background: #ecf0f1;
border: 2px dashed #bdc3c7;
border-radius: 6px;
- margin-bottom: 1em;
+ position: sticky;
+ bottom: 0;
+ z-index: 10;
}
.tile-rack.drag-over {