Keep double-clicks on controls from selecting text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-10-18 12:34:11 +00:00
1 parent e28e18c88c
commit 8d8d942038
1 file changed
+13
+13
View File
@@ -2004,6 +2004,19 @@
padding-left: 1.1rem;
}
/* Double-clicking UI controls (channels, users, tabs, menus) must not select text.
Chat, log and info panel stay selectable. */
.ts-app :is(.ts-row, .ts-menubar, .ts-toolbar, .ts-chat-tabs, .gts-connection-tabs, .ts-speaking-now, button) {
-webkit-user-select: none;
user-select: none;
}
/* Safari would otherwise block typing/selecting in inputs inside those areas */
.ts-app :is(input, textarea) {
-webkit-user-select: text;
user-select: text;
}
.ts-row {
display: flex;
align-items: center;