This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch template_less
in repository https://gitbox.apache.org/repos/asf/superset.git

commit cebff5e726f8bfb1ab3d779bedcdb27e220c1be3
Author: Maxime Beauchemin <maximebeauche...@gmail.com>
AuthorDate: Tue Mar 25 12:54:38 2025 -0700

    improve styles in HighlightedSql
---
 superset-frontend/src/SqlLab/components/HighlightedSql/index.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/superset-frontend/src/SqlLab/components/HighlightedSql/index.tsx 
b/superset-frontend/src/SqlLab/components/HighlightedSql/index.tsx
index 3334265188..f3cf8dc857 100644
--- a/superset-frontend/src/SqlLab/components/HighlightedSql/index.tsx
+++ b/superset-frontend/src/SqlLab/components/HighlightedSql/index.tsx
@@ -36,8 +36,9 @@ const ThemedSyntaxHighlighter = ({
     language="sql"
     style={style}
     customStyle={{
-      background: 'transparent',
-      padding: themeObject.theme.sizeUnit,
+      background: themeObject.theme.colorBgElevated,
+      padding: themeObject.theme.sizeUnit * 4,
+      border: 0,
     }}
   >
     {children}

Reply via email to