rodrigomasini commited on
Commit
a5ff11f
1 Parent(s): 6d42150

Update src/display/css_html_js.py

Browse files
Files changed (1) hide show
  1. src/display/css_html_js.py +4 -7
src/display/css_html_js.py CHANGED
@@ -7,12 +7,9 @@ custom_css = """
7
  /* Limit the width of the first AutoEvalColumn so that names don't expand too much */
8
  table td:first-child,
9
  table th:first-child {
10
- max-width: none; /* Remove any max-width or set it to a higher value */
11
- overflow: visible; /* Set overflow to visible to ensure the content is not hidden */
12
- white-space: normal; /* Allow the text to wrap */
13
- }
14
- table {
15
- table-layout: auto; /* Change from fixed to auto if necessary */
16
  }
17
  /* Full width space */
18
  .gradio-container {
@@ -87,4 +84,4 @@ get_window_url_params = """
87
  url_params = Object.fromEntries(params);
88
  return url_params;
89
  }
90
- """
 
7
  /* Limit the width of the first AutoEvalColumn so that names don't expand too much */
8
  table td:first-child,
9
  table th:first-child {
10
+ max-width: 400px;
11
+ overflow: auto;
12
+ white-space: nowrap;
 
 
 
13
  }
14
  /* Full width space */
15
  .gradio-container {
 
84
  url_params = Object.fromEntries(params);
85
  return url_params;
86
  }
87
+ """