[FORWARD PORT] LPS-50567 don't force a fixed width

This is a forward port of https://github.com/sergiogonzalez/liferay-plugins-ee/pull/118