NagisaNao commited on
Commit
8a1a53d
1 Parent(s): f536012

fix css class name

Browse files
files_cells/special/notebooks/dl_display_results.ipynb CHANGED
@@ -201,7 +201,7 @@
201
  "# Adding content to \"outputs_widgets_list\"\n",
202
  "def output_container_generator(header, items):\n",
203
  " header_widget = widgets.HTML(value=f'<div class=\"header_outputs_dl\">{header} ➤</div>')\n",
204
- " content = [widgets.HTML(value=f'<div class=\"items\">{item}</div>') for item in items]\n",
205
  " container_widget = widgets.VBox([header_widget] + content).add_class(\"outputs_dl\")\n",
206
  " return container_widget\n",
207
  "\n",
 
201
  "# Adding content to \"outputs_widgets_list\"\n",
202
  "def output_container_generator(header, items):\n",
203
  " header_widget = widgets.HTML(value=f'<div class=\"header_outputs_dl\">{header} ➤</div>')\n",
204
+ " content = [widgets.HTML(value=f'<div class=\"items_dl\">{item}</div>') for item in items]\n",
205
  " container_widget = widgets.VBox([header_widget] + content).add_class(\"outputs_dl\")\n",
206
  " return container_widget\n",
207
  "\n",
files_cells/special/python/dl_display_results.py CHANGED
@@ -182,7 +182,7 @@ header_widget = widgets.HTML(value='<div class="header_dl">DOWNLOAD RESULTS | v0
182
  # Adding content to "outputs_widgets_list"
183
  def output_container_generator(header, items):
184
  header_widget = widgets.HTML(value=f'<div class="header_outputs_dl">{header} ➤</div>')
185
- content = [widgets.HTML(value=f'<div class="items">{item}</div>') for item in items]
186
  container_widget = widgets.VBox([header_widget] + content).add_class("outputs_dl")
187
  return container_widget
188
 
 
182
  # Adding content to "outputs_widgets_list"
183
  def output_container_generator(header, items):
184
  header_widget = widgets.HTML(value=f'<div class="header_outputs_dl">{header} ➤</div>')
185
+ content = [widgets.HTML(value=f'<div class="items_dl">{item}</div>') for item in items]
186
  container_widget = widgets.VBox([header_widget] + content).add_class("outputs_dl")
187
  return container_widget
188