Skip to content

Commit da6bbc9

Browse files
author
Hardy--Lee
committed
fix: fast save preview position
1 parent 122451c commit da6bbc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/webgal/src/Stage/ControlPanel/controlPanel.module.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@
199199
.control_panel_fast_sl_preview {
200200
pointer-events: none;
201201
position: absolute;
202-
transform: translateY(-50%);
203202
width: 100%;
204203
height: 100%;
205204
max-width: 60vmin;
@@ -240,8 +239,8 @@
240239
}
241240

242241
.control_panel_fast_sl_preview_image {
242+
display: flex;
243243
width: 100%;
244-
height: 100%;
245244
object-fit: contain;
246245
}
247246

0 commit comments

Comments
 (0)