Skip to content

Commit 36cf69a

Browse files
committed
Remove CSS nesting
1 parent 4d81186 commit 36cf69a

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

web_src/css/features/cropper.css

+22-20
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,28 @@
33
.cropper-panel {
44
display: flex;
55
column-gap: 10px;
6+
}
7+
8+
.cropper-panel #cropper-result {
9+
overflow: hidden;
10+
width: 256px;
11+
height: 256px;
12+
max-width: 256px;
13+
max-height: 256px;
14+
}
15+
16+
.cropper-panel .cropper-editor {
17+
flex: 1;
18+
max-width: 100%;
19+
overflow: hidden;
20+
}
621

7-
.cropper-editor {
8-
flex: 1;
9-
max-width: 100%;
10-
overflow: hidden;
11-
.cropper-wrapper {
12-
height: 600px;
13-
max-height: 600px;
14-
}
15-
>div {
16-
display: flex;
17-
column-gap: 10px;
18-
}
19-
}
22+
.cropper-panel .cropper-editor >div {
23+
display: flex;
24+
column-gap: 10px;
25+
}
2026

21-
#cropper-result {
22-
overflow: hidden;
23-
width: 256px;
24-
height: 256px;
25-
max-width: 256px;
26-
max-height: 256px;
27-
}
27+
.cropper-panel .cropper-editor .cropper-wrapper {
28+
height: 600px;
29+
max-height: 600px;
2830
}

0 commit comments

Comments
 (0)