Skip to content

Commit 17c54a3

Browse files
authored
Fix macOS drag region (#2083)
1 parent 004391d commit 17c54a3

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

css/browser.css

+14-2
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,27 @@ body {
2828
}
2929

3030
/* Bind the toolbar as the window's draggable region */
31-
.x9f619.x1n2onr6.x1ja2u2z.x78zum5.x2lah0s.x1qughib.x6s0dn4.xozqiw3.x1q0g3np.x1sy10c2.xktsk01.xod5an3.x1d52u69.xzd29fr {
31+
/* Bar above conversation list */
32+
[role='navigation'] .x78zum5.xdt5ytf.xzd29fr {
3233
-webkit-app-region: drag;
3334
}
35+
/* New message button */
3436
[role='navigation'] .x16n37ib {
3537
-webkit-app-region: no-drag;
3638
}
37-
.x9f619.x1n2onr6.x1ja2u2z.x78zum5.xdt5ytf.x193iq5w.xeuugli.x1r8uery.x1iyjqo2.xs83m0k.xsyo7zv.x16hj40l.x10b6aqq.x1yrsyyn {
39+
/* Bar above chat */
40+
[role='main'] .x1u998qt.x1vjfegm {
3841
-webkit-app-region: drag;
3942
}
43+
/* Conversation name */
44+
[role='main'] .x1i10hfl.x1qjc9v5.xjbqb8w.xjqpnuy.xa49m3k.xqeqjp1.x2hbi6w.x13fuv20.xu3j5b3.x1q0q8m5.x26u7qi.x972fbf.xcfux6l.x1qhh985.xm0m39n.x9f619.x1ypdohk.xdl72j9.x2lah0s.xe8uvvx.xdj266r.x11i5rnm.xat24cr.x1mh8g0r.x2lwn1j.xeuugli.xexx8yu.x4uap5.x18d9i69.xkhd6sd.x1n2onr6.x16tdsg8.x1hl2dhg.xggy1nq.x1ja2u2z.x1t137rt.x1o1ewxj.x3x9cwd.x1e5q0jg.x13rtm0m.x1q0g3np.x87ps6o.x1lku1pv.x1a2a7pz.x78zum5 {
45+
-webkit-app-region: no-drag;
46+
}
47+
/* Top right buttons */
48+
[role='main'] .x9f619.x1n2onr6.x1ja2u2z.x78zum5.x2lah0s.x1qughib.x6s0dn4.xozqiw3.x1q0g3np.xykv574.xbmpl8g.x4cne27.xifccgj {
49+
-webkit-app-region: no-drag;
50+
}
51+
/* View label above conversation list margin */
4052
[role='navigation'] .x1heor9g.x1qlqyl8.x1pd3egz.x1a2a7pz {
4153
margin-left: 60px;
4254
}

0 commit comments

Comments
 (0)