Image component works strange
Unanswered
kokoan23 posted this in #help-forum
kokoan23OP
Why does Image take up not 584 pixels wide, but all the free space? ( i have container in Layout.tsx with width = 1200px )
What is in the comments works correctly, but I independently set the width of the block in which it lies.
Maybe I somehow misunderstand this property of Image ? Pls help)
What is in the comments works correctly, but I independently set the width of the block in which it lies.
Maybe I somehow misunderstand this property of Image ? Pls help)
3 Replies
Netherland Dwarf
What happens if you remove the style prop?
. the image itself should still be 584x640, but it's rendered on the entire width due to the style prop