Box autoresize bug?

When I moved the cards to the top edge, the box expanded at the bottom. Is this a bug or a feature?


2. Right and bottom edges autoresize from outside of the box only but left and top from inside