We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d442eb commit 6278a13Copy full SHA for 6278a13
packages/webui/src/client/ui/PreviewPopUp/PreviewPopUp.scss
@@ -13,12 +13,12 @@
13
z-index: 9999;
14
15
&--large {
16
- width: 480px;
+ width: 482px;
17
--preview-max-dimension: 480;
18
}
19
20
&--small {
21
- width: 320px;
+ width: 322px;
22
--preview-max-dimension: 320;
23
24
@@ -124,6 +124,12 @@
124
transform: scaleX(-1);
125
126
127
+ height: calc(1px * 1080 * var(--preview-max-dimension) / 1920);
128
+
129
+ video {
130
+ width: calc(var(--preview-max-dimension) * 1px);
131
+ height: inherit;
132
+ }
133
134
135
.preview-popUp__table {
0 commit comments