Hi everybody
I am developping a card classic game. In JS, I define a stock component to hold the card in the player hand. That hand can contain lots of cards, in that case the stock uses two lines.
The trouble is that the div containing the stock does not adapt because it's height is fixed for one line only. As a result, its wrapper does not contain it entirely, and this is visible when I define a background-color...
Is there any option which could let compute this height dynamically?
Thanks a lot for your help!
Tcheby
I am developping a card classic game. In JS, I define a stock component to hold the card in the player hand. That hand can contain lots of cards, in that case the stock uses two lines.
The trouble is that the div containing the stock does not adapt because it's height is fixed for one line only. As a result, its wrapper does not contain it entirely, and this is visible when I define a background-color...
Is there any option which could let compute this height dynamically?
Thanks a lot for your help!
Tcheby