SamiKoen commited on
Commit
10a9252
·
verified ·
1 Parent(s): 8c5fda1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -133,23 +133,14 @@ demo_css = """
133
  background-color: #0077c0;
134
  }
135
 
136
- #input_text {
137
- width: 100%;
138
- max-width: 100px;
139
- }
140
 
141
- @media (min-width: 768px) {
142
- #input_text {
143
- max-width: 500px;
144
- }
145
- }
146
 
147
 
148
 
149
 
150
  /* Buton kapsayıcısındaki sol margin değerini kaldırıyoruz */
151
  .fixed_button_container {
152
- width: 200px !important;
153
  padding: 0px;
154
  margin: 10px 0 0 2px; /* Sol boşluk kaldırıldı */
155
  }
@@ -181,7 +172,7 @@ with gr.Blocks(css=demo_css, theme=theme) as demo:
181
  placeholder="Buraya yazın",
182
  show_label=False,
183
  container=True,
184
- elem_id="input_text" # Giriş alanına ID ekledik
185
  )
186
  # Butonu, genişlemesini engelleyen sabit kapsayıcı içinde yerleştiriyoruz.
187
  with gr.Column(elem_classes="fixed_button_container"):
 
133
  background-color: #0077c0;
134
  }
135
 
 
 
 
 
136
 
 
 
 
 
 
137
 
138
 
139
 
140
 
141
  /* Buton kapsayıcısındaki sol margin değerini kaldırıyoruz */
142
  .fixed_button_container {
143
+
144
  padding: 0px;
145
  margin: 10px 0 0 2px; /* Sol boşluk kaldırıldı */
146
  }
 
172
  placeholder="Buraya yazın",
173
  show_label=False,
174
  container=True,
175
+
176
  )
177
  # Butonu, genişlemesini engelleyen sabit kapsayıcı içinde yerleştiriyoruz.
178
  with gr.Column(elem_classes="fixed_button_container"):