CultriX commited on
Commit
bdfff65
·
verified ·
1 Parent(s): 643e482

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -41,6 +41,12 @@ class NordTheme(Base):
41
 
42
  # your CSS overrides, combining everything:
43
  css_overrides = """
 
 
 
 
 
 
44
  /* Inputs */
45
  .gradio-container textarea,
46
  .gradio-container input[type="text"],
@@ -72,10 +78,7 @@ css_overrides = """
72
  color: white !important;
73
  }
74
 
75
- /* Layout tweaks */
76
- .gradio-container {
77
- max-width: 1200px !important;
78
- }
79
  .code-container {
80
  border-radius: 8px !important;
81
  }
 
41
 
42
  # your CSS overrides, combining everything:
43
  css_overrides = """
44
+ /* Center the app and constrain its width */
45
+ .gradio-container {
46
+ max-width: 1200px !important;
47
+ margin: 0 auto !important;
48
+ }
49
+
50
  /* Inputs */
51
  .gradio-container textarea,
52
  .gradio-container input[type="text"],
 
78
  color: white !important;
79
  }
80
 
81
+ /* Code panels rounding */
 
 
 
82
  .code-container {
83
  border-radius: 8px !important;
84
  }