Fix text selection: use !important to override Obsidian's user-select
Obsidian sets user-select: none with higher specificity. Add !important on .vc-bubble and .vc-bubble * to ensure all message content including rendered markdown children is selectable. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+7
-2
@@ -197,11 +197,16 @@
|
||||
border-radius: 12px;
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
user-select: text;
|
||||
-webkit-user-select: text;
|
||||
user-select: text !important;
|
||||
-webkit-user-select: text !important;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.vc-bubble * {
|
||||
user-select: text !important;
|
||||
-webkit-user-select: text !important;
|
||||
}
|
||||
|
||||
.vc-msg--user .vc-bubble {
|
||||
background: var(--interactive-accent);
|
||||
color: var(--text-on-accent);
|
||||
|
||||
Reference in New Issue
Block a user