galb-dai commited on
Commit
e50b893
·
1 Parent(s): 920f125

Use class instead of ID.

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/display/css_html_js.py +1 -1
app.py CHANGED
@@ -196,7 +196,7 @@ with blocks:
196
  show_label=False,
197
  show_download_button=False,
198
  container=False,
199
- elem_id="banner_image",
200
  )
201
 
202
  gr.HTML(
 
196
  show_label=False,
197
  show_download_button=False,
198
  container=False,
199
+ elem_classes=["banner_image"],
200
  )
201
 
202
  gr.HTML(
src/display/css_html_js.py CHANGED
@@ -4,7 +4,7 @@ custom_css = """
4
  font-size: 16px !important;
5
  }
6
 
7
- #banner_image { width: 70% !important; }
8
 
9
  @import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600&display=swap');
10
 
 
4
  font-size: 16px !important;
5
  }
6
 
7
+ .banner_image { width: 70% !important; }
8
 
9
  @import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600&display=swap');
10