on-internet
← Community

chakra UI - vertical alignment at top

Stack Overflow ·

Using chakra UI, I have a two column layout. I want all the items to be aligned at the top. For some reason they are aligning in the center... I'm using this markup: <HStack verticalAlign='top' height='100%' position='relative' className='debug-blue'> <VStack spacing={2} width={marginSize} height={marginHeight} className='sidebar debug-red'> {listWallets()} </VStack> <VStack align='flex-start' alignItems='flex-start' verticalAlign='top' > {/* {showPieces()} */} {dummyBlocks()} </VStack> </HStack> this is the problem line: <VStack align='flex-start' alignItems='flex-start' verticalAlign='top' >

Comments

Sign in or sign up to comment and upvote.

No comments yet.