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 <81948346+anikdhabal@users.noreply.github.com>
This commit is contained in:
Krishnendu Sukumar
2024-07-22 09:26:13 +02:00
committed by GitHub
co-authored by Anik Dhabal Babu
parent b530d31b35
commit a4b0fdba7b
+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 */