fix: Text in React Embed Code Becomes Invisible on Selection (#15835)

* fix: #15832

* fix: #15832

* Revert yarn.lock to its state before unintended changes

* Update EmbedTabs.tsx

---------

Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
Krishnendu SukumarandAnik Dhabal Babu authored and GitHub committed 2024-07-22 09:26:13 +02:00
1 parent b530d31b35
commit a4b0fdba7b
1 file changed
+1 -1
+1 -1
View File
@@ -96,7 +96,7 @@ export const tabs = [
data-testid="embed-react"
ref={ref as typeof ref & MutableRefObject<HTMLTextAreaElement>}
name="embed-react"
className="text-default bg-default selection:bg-subtle h-[calc(100%-50px)] font-mono"
className="text-default bg-default h-[calc(100%-50px)] font-mono"
readOnly
style={{ resize: "none", overflow: "auto" }}
value={`/* First make sure that you have installed the package */