Fix details background disappearing in collapsible alerts

This fixes an issue introduced with commit: https://github.com/wet-boew/wet-boew/commit/b93001a45b02a9344447e25600549489069f3547

See issue: https://github.com/wet-boew/wet-boew/issues/6339