Fixes styling for dynamic containers.