Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix(frontend): fix highlighted in terminal is missing background color (#11981)

HeyItsChloe853547be8206
diff --git a/frontend/src/tailwind.css b/frontend/src/tailwind.css
index 8228f6b154..1673288564 100644
--- a/frontend/src/tailwind.css
+++ b/frontend/src/tailwind.css
@@ -318,8 +318,8 @@
background: transparent !important;
}
-/* Ensure all xterm elements have transparent backgrounds */
-.xterm * {
+/* Ensure all xterm DOM elements have transparent backgrounds. Exclude canvas elements */
+.xterm {
background: transparent !important;
}