fix secene bug

This commit is contained in:
Nalvazhuthi 2025-03-25 16:33:11 +05:30
parent 46d66be1ca
commit 238224a759
1 changed files with 18 additions and 8 deletions

View File

@ -12,7 +12,16 @@
top: 0; top: 0;
left: 0; left: 0;
transform: scale(1); transform: scale(1);
.scene-container {
width: 100%;
height: 100%;
canvas {
width: 100vw !important;
height: 100% !important;
}
}
// Panels // Panels
.panel { .panel {
position: absolute; position: absolute;
@ -143,15 +152,16 @@
width: calc((100vw * 1.65) - (320px + 270px + 70px) / 0.6); width: calc((100vw * 1.65) - (320px + 270px + 70px) / 0.6);
z-index: 100; z-index: 100;
.scene-container{ .scene-container {
width: 100%; width: 100%;
height: 100%; height: 100%;
canvas{
width: calc((100vw * 1.65) - (320px + 270px + 70px) / 0.6) !important;
height: 100% !important;
canvas {
width: calc((100vw * 1.65) - (320px + 270px + 70px) / 0.6) !important;
height: 100% !important;
}
} }
}
&.top { &.top {
transform: scale(1.5); transform: scale(1.5);
@ -170,7 +180,7 @@
} }
.zoon-wrapper { .zoon-wrapper {
transform:translate(-50%, 0) scale(1.5); transform: translate(-50%, 0) scale(1.5);
} }
} }