fix: keep button text unselectable outside markdown

Restore non-selectable text for app buttons
Keep markdown file links selectable
This commit is contained in:
Bohdan Triapitsyn
2026-05-05 20:45:31 +03:00
parent 2b0e1ef42e
commit ddfd2db0b8
+4 -4
View File
@@ -29,8 +29,8 @@
/* Buttons should never look selectable. */
button,
[role="button"] {
user-select: none;
-webkit-user-select: none;
user-select: none !important;
-webkit-user-select: none !important;
}
:root.oc-theme-switching *,
@@ -976,8 +976,8 @@ html:not(.dark) .chat-scroll {
cursor: pointer;
text-decoration: underline;
text-underline-offset: 2px;
user-select: text;
-webkit-user-select: text;
user-select: text !important;
-webkit-user-select: text !important;
}
.markdown-content [data-openchamber-file-link="true"]:hover {