diff --git a/src/app/me/stars/page.tsx b/src/app/me/stars/page.tsx index 31727ab..a507630 100644 --- a/src/app/me/stars/page.tsx +++ b/src/app/me/stars/page.tsx @@ -52,12 +52,13 @@ const Main = () => { skinViewer.camera.position.y = 6.5; skinViewer.camera.position.z = 11; skinViewer.loadBackground("/static/background.png").then(() => asyncImage('/static/workshop_base.png').then((base_skin) => { - Promise.all(data.map(async (el) => { + Promise.all(data.map(async el => { try { const result = await generateSkin(el.base64, base_skin, el.categories.some(val => val.id == 3)) await skinViewer.loadSkin(result, { model: 'default' }); skinViewer.render(); const image = skinViewer.canvas.toDataURL(); + console.log(styles_me) return } catch { return; @@ -83,7 +84,11 @@ const Main = () => { {data && data.length != 0 ? :

Похоже, тут ничего нет

diff --git a/src/app/styles/me/me.module.css b/src/app/styles/me/me.module.css index eec9131..b38a276 100644 --- a/src/app/styles/me/me.module.css +++ b/src/app/styles/me/me.module.css @@ -165,19 +165,19 @@ } } -@media (min-width: 1006px) { +@media (min-width: 1020px) { .create { width: calc(600px + 1rem); } } -@media (min-width: 1322px) { +@media (min-width: 1335px) { .create { width: calc(900px + 2rem); } } -@media(max-width: 650px) { +@media(max-width: 730px) { .create { width: 100% !important; min-width: 300px !important; diff --git a/src/app/styles/me/sidebar.module.css b/src/app/styles/me/sidebar.module.css index 6c6d903..3e916d1 100644 --- a/src/app/styles/me/sidebar.module.css +++ b/src/app/styles/me/sidebar.module.css @@ -241,7 +241,7 @@ } -@media(max-width: 650px) { +@media(max-width: 730px) { .main { flex-direction: column; align-items: stretch;