Fixed box container styling to adapt to box height