YugJ commited on
Commit
abfa285
·
verified ·
1 Parent(s): 9c74cc3

Upload styles.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. styles.py +9 -0
styles.py CHANGED
@@ -51,6 +51,15 @@ CSS = """
51
 
52
  /* ---------- ground ---------- */
53
 
 
 
 
 
 
 
 
 
 
54
  .gradio-container {
55
  max-width: 1520px !important;
56
  margin: 0 auto !important;
 
51
 
52
  /* ---------- ground ---------- */
53
 
54
+ /* The platform paints the page behind the app. Without this the margins
55
+ outside the container stay flat black while the container carries the
56
+ gradient, leaving a visible seam down both edges. */
57
+ body,
58
+ gradio-app,
59
+ .gradio-container > .main {
60
+ background: var(--void) !important;
61
+ }
62
+
63
  .gradio-container {
64
  max-width: 1520px !important;
65
  margin: 0 auto !important;