I want to make a navigation bar like this:
Toast ui homepage
I try to replicate as much as possible to achieve this.
I get the following message:
I want something like this (these were made with image editing):
Option 1: Center alignment
Option 2: Left alignment
I want the position of the linked list to be dynamic, depending on the position of the link group that contains it. All I did was align it left.
That is, I want the link list to be directly below the link group that contains it for better UI.
Can you tell me how to get this by editing my code and box?
Set the paddingLeft of
link-list
and the x coordinate oflink-group
link-list
into a component and receive linkGroupId as props. And set the paddingLeft oflink-list
and the x coordinateof
link-groupof link-group
option2
If "LinkList" overflows, it is best not to wrap until "LinkList" fills ".link-list-box", and the left padding will naturally decrease. But I don't know how to do it..