Nihal2000 commited on
Commit
9c22d48
·
1 Parent(s): a7d014a

fix: Remove invalid style arguments from gr.Markdown and gr.Row

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -100,6 +100,15 @@ h1, h2, h3, h4, h5, h6 {
100
  ::-webkit-scrollbar-thumb:hover {
101
  background: #3f3f46;
102
  }
 
 
 
 
 
 
 
 
 
103
  """
104
 
105
  def create_header():
@@ -200,7 +209,7 @@ def create_main_interface():
200
  status_bar = gr.Markdown("**Status:** Ready", elem_id="status-bar")
201
 
202
  # Solutions Area
203
- gr.Markdown("### Solutions", style="margin-top: 24px;")
204
 
205
  with gr.Row():
206
  root_cause_box = gr.Markdown(
@@ -213,7 +222,7 @@ def create_main_interface():
213
  solution_2 = gr.Markdown(visible=False, elem_classes=["pro-card"])
214
 
215
  # Action Bar
216
- with gr.Row(elem_classes=["action-bar"], style="margin-top: 16px;"):
217
  export_btn = gr.Button("Export Report", size="sm", variant="secondary")
218
  voice_btn = gr.Button("Voice Briefing", size="sm", variant="secondary")
219
  audio_output = gr.Audio(visible=False, interactive=False)
 
100
  ::-webkit-scrollbar-thumb:hover {
101
  background: #3f3f46;
102
  }
103
+
104
+ /* Spacing Helpers */
105
+ .solutions-header {
106
+ margin-top: 24px !important;
107
+ }
108
+
109
+ .action-bar {
110
+ margin-top: 16px !important;
111
+ }
112
  """
113
 
114
  def create_header():
 
209
  status_bar = gr.Markdown("**Status:** Ready", elem_id="status-bar")
210
 
211
  # Solutions Area
212
+ gr.Markdown("### Solutions", elem_classes=["solutions-header"])
213
 
214
  with gr.Row():
215
  root_cause_box = gr.Markdown(
 
222
  solution_2 = gr.Markdown(visible=False, elem_classes=["pro-card"])
223
 
224
  # Action Bar
225
+ with gr.Row(elem_classes=["action-bar"]):
226
  export_btn = gr.Button("Export Report", size="sm", variant="secondary")
227
  voice_btn = gr.Button("Voice Briefing", size="sm", variant="secondary")
228
  audio_output = gr.Audio(visible=False, interactive=False)