fix css syntax error (#9731)

* fix css syntax error

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
pngwn 2024-10-16 21:56:26 +01:00 committed by GitHub
parent d0b2ce8c0f
commit ea283e7398
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"gradio": patch
---
fix:fix css syntax error

View File

@ -88,7 +88,7 @@ class ThemeClass:
dark_css_code = (
"\n:root .dark {\n"
+ "\n".join([f" --{attr}: {val};" for attr, val in dark_css.items()])
+ "\n}\n}"
+ "\n}"
)
font_css = "\n".join(self._font_css)