mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 17:23:25 +00:00
FIX - raise camera game view
This commit is contained in:
@@ -566,7 +566,7 @@ onBeforeUnmount(() => {
|
|||||||
}
|
}
|
||||||
.camera-viewport {
|
.camera-viewport {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 46%;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 3 / 4;
|
aspect-ratio: 3 / 4;
|
||||||
@@ -574,7 +574,7 @@ onBeforeUnmount(() => {
|
|||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
}
|
}
|
||||||
.camera-page--landscape .camera-viewport {
|
.camera-page--landscape .camera-viewport {
|
||||||
top: 50%;
|
top: 46%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
width: calc(100% * 16 / 9);
|
width: calc(100% * 16 / 9);
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user