Align layout

#18
by victor HF staff - opened
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -57,13 +57,7 @@ css = """
57
  margin: auto;
58
  padding-top: 1.5rem;
59
  }
60
- #prompt-area {
61
- max-width: 650px;
62
- margin-left: auto;
63
- margin-right: auto
64
- }
65
  #gallery {
66
- max-width: 650px;
67
  min-height: 22rem;
68
  margin-bottom: 15px;
69
  margin-left: auto;
@@ -232,7 +226,7 @@ with block:
232
  """
233
  )
234
  with gr.Group():
235
- with gr.Box(elem_id="prompt-area"):
236
  with gr.Row().style(mobile_collapse=False, equal_height=True):
237
  text = gr.Textbox(
238
  label="Enter your prompt",
 
57
  margin: auto;
58
  padding-top: 1.5rem;
59
  }
 
 
 
 
 
60
  #gallery {
 
61
  min-height: 22rem;
62
  margin-bottom: 15px;
63
  margin-left: auto;
 
226
  """
227
  )
228
  with gr.Group():
229
+ with gr.Box():
230
  with gr.Row().style(mobile_collapse=False, equal_height=True):
231
  text = gr.Textbox(
232
  label="Enter your prompt",