Revert "stylesheet: auto expand container if content is not enough."

This reverts commit b4db27585f0f94bb5954f398afdabe9f97023ca8.