Есть блок на странице. Динамически создается другой. По наличию второго - первый нужно сместить под динамический. При смене размера - блок ПОД двигать вместе
Help CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute