vue-grid-layout icon indicating copy to clipboard operation
vue-grid-layout copied to clipboard

How to remove the un-used space if container

Open vanminhquangtri opened this issue 2 years ago • 1 comments

Hello, Thank you for perfect library. I am using vue-grid-layout version 2.4.0

Can you please tell me how to remove the un-used space in the right (red-rect)? It keeps full width which is not neccessary.

I am talking about the div with class .vue-grid-layout. It always expand width full screen. For some reason, I want it to auto expand enough width than can cover the width of items inside only, not full width of screen. Is there any prop or method handle this? Thank you.

image

vanminhquangtri avatar Jun 01 '23 15:06 vanminhquangtri

Please, can anybody give a solution for this. Thank you.

vanminhquangtri avatar Jun 02 '23 15:06 vanminhquangtri