Using div in building cards. wrapping the code inside the extra div

when i am not wrapping these lines of code inside another div the left half of my card is disapperaing

but when i am wrapping this inside another div the output is satisfactory.
What might be the reason for this?
Should i use maybe overflow because i used div elements inside the card class?
What do you think about this?