Using flex-box was nice, though would love to solve the issue of aligning the component to the center as scrollbar started appearing when using width: 100vw; height: 100vh
.
Well, I had to deal with the following: on trying to align the component to the center a scrollbar started appearing when using width: 100vw; height: 100vh
. This I resolved using calc(100vw - 8px)
, though it is not as elegant as I desired.
None in particular.