Can someone explain where all the space from the right is coming from and how I can make it go away?
Grid
cause you set the size of each columns to only 20px
By default, a div’s width is set to ‘auto’ - which means the element takes all available horizontal space (but your grid has a set width of 16 colums x 20px)
To fix your issue you could specify a width for your div (simplest solution in order to keep 20px column sizes would be width: fit-content
)
1 Like