@@ -9,14 +9,10 @@ html, body, .page, .main, .repl, #sidecar {
9
9
body {
10
10
margin : 0 ;
11
11
overflow : hidden;
12
- -webkit-app-region : drag;
13
12
14
13
/* variables */
15
14
--font-monospace : "Fira Mono" , Menlo, "DejaVu Sans Mono" , "Bitstream Vera Sans Mono" , Courier, monospace;
16
15
}
17
- body p , body input , .entity-name , .repl-input , .repl-output span {
18
- -webkit-app-region : no-drag;
19
- }
20
16
.page {
21
17
display : flex;
22
18
flex-direction : column;
@@ -37,6 +33,10 @@ body a:hover:not(.plain-anchor) {
37
33
}
38
34
39
35
/* HEADER */
36
+ body .page > .header {
37
+ /* only allow mouse dragging on top-most header */
38
+ -webkit-app-region : drag;
39
+ }
40
40
.header {
41
41
flex-basis : 40px ;
42
42
display : flex;
@@ -799,14 +799,12 @@ sidecar .sidecar-content {
799
799
}
800
800
sidecar .sidecar-content > div , sidecar .sidecar-content .activation-content > pre {
801
801
padding : 1.5em 1em ;
802
- -webkit-app-region : no-drag;
803
802
}
804
803
sidecar .sidecar-content .hook-for-third-party-content .no-content {
805
804
display : none;
806
805
}
807
806
sidecar .sidecar-content .activation-content {
808
807
padding : 0 ;
809
- -webkit-app-region : drag;
810
808
}
811
809
sidecar .sidecar-content .activation-content , sidecar .sidecar-content .hook-for-third-party-content {
812
810
flex : 1 ;
@@ -1287,11 +1285,6 @@ body.subwindow .repl-inner {
1287
1285
margin-top : 2em ;
1288
1286
}
1289
1287
1290
- /* subwindow */
1291
- body .subwindow .repl {
1292
- -webkit-app-region : drag;
1293
- }
1294
-
1295
1288
/* we use titleBarStyle:hidden/hiddenInset on mac; this makes room for the window close/min/max buttons */
1296
1289
body .os-darwin : not (.fullscreen ) .header {
1297
1290
padding-left : 5em ;
0 commit comments