Add background to gr.Code line numbers (#8931)

* fix background colour in gr.code

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Hannah 2024-07-29 19:16:38 +01:00 committed by GitHub
parent 223688b70a
commit 4c2d37db84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
"@gradio/code": patch
"gradio": patch
---
fix:Add background to gr.Code line numbers

View File

@ -151,7 +151,7 @@
".cm-gutters": {
marginRight: "1px",
borderRight: "1px solid var(--border-color-primary)",
backgroundColor: "transparent",
backgroundColor: "var(--block-background-fill);",
color: "var(--body-text-color-subdued)"
},
".cm-focused": {