Skip to content

Commit 594929c

Browse files
committed
refactor: Reorganize SCSS structure to improve readability
1 parent a308dca commit 594929c

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

packages/webui/src/client/ui/PreviewPopUp/PreviewPopUp.scss

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,8 @@
77
border-radius: 5px;
88
overflow: hidden;
99
pointer-events: none;
10-
1110
z-index: 9999;
12-
13-
&--large {
14-
width: 482px;
15-
padding-bottom: 10px;
16-
--preview-max-dimension: 480;
17-
}
18-
19-
&--small {
20-
width: 322px;
21-
--preview-max-dimension: 320;
22-
}
23-
24-
&--hidden {
25-
visibility: none;
26-
}
27-
2811
font-family: Roboto Flex;
29-
3012
font-style: normal;
3113
font-weight: 500;
3214
font-size: 16px;
@@ -50,6 +32,21 @@
5032
'YTFI' 738,
5133
'YTLC' 548,
5234
'YTUC' 712;
35+
36+
&--large {
37+
width: 482px;
38+
padding-bottom: 10px;
39+
--preview-max-dimension: 480;
40+
}
41+
42+
&--small {
43+
width: 322px;
44+
--preview-max-dimension: 320;
45+
}
46+
47+
&--hidden {
48+
visibility: none;
49+
}
5350
}
5451

5552
.preview-popUp__preview {

0 commit comments

Comments
 (0)