@@ -9,14 +9,10 @@ html, body, .page, .main, .repl, #sidecar {
99body {
1010 margin : 0 ;
1111 overflow : hidden;
12- -webkit-app-region : drag;
1312
1413 /* variables */
1514 --font-monospace : "Fira Mono" , Menlo, "DejaVu Sans Mono" , "Bitstream Vera Sans Mono" , Courier, monospace;
1615}
17- body p , body input , .entity-name , .repl-input , .repl-output span {
18- -webkit-app-region : no-drag;
19- }
2016.page {
2117 display : flex;
2218 flex-direction : column;
@@ -37,6 +33,10 @@ body a:hover:not(.plain-anchor) {
3733}
3834
3935/* HEADER */
36+ body .page > .header {
37+ /* only allow mouse dragging on top-most header */
38+ -webkit-app-region : drag;
39+ }
4040.header {
4141 flex-basis : 40px ;
4242 display : flex;
@@ -799,14 +799,12 @@ sidecar .sidecar-content {
799799}
800800sidecar .sidecar-content > div , sidecar .sidecar-content .activation-content > pre {
801801 padding : 1.5em 1em ;
802- -webkit-app-region : no-drag;
803802}
804803sidecar .sidecar-content .hook-for-third-party-content .no-content {
805804 display : none;
806805}
807806sidecar .sidecar-content .activation-content {
808807 padding : 0 ;
809- -webkit-app-region : drag;
810808}
811809sidecar .sidecar-content .activation-content , sidecar .sidecar-content .hook-for-third-party-content {
812810 flex : 1 ;
@@ -1287,11 +1285,6 @@ body.subwindow .repl-inner {
12871285 margin-top : 2em ;
12881286}
12891287
1290- /* subwindow */
1291- body .subwindow .repl {
1292- -webkit-app-region : drag;
1293- }
1294-
12951288/* we use titleBarStyle:hidden/hiddenInset on mac; this makes room for the window close/min/max buttons */
12961289body .os-darwin : not (.fullscreen ) .header {
12971290 padding-left : 5em ;
0 commit comments