hysts HF staff commited on
Commit
1421d7a
1 Parent(s): 3b0ca83
Files changed (2) hide show
  1. app.py +1 -1
  2. style.css +3 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def get_style_image_url(style_name: str) -> str:
44
 
45
  def get_style_image_markdown_text(style_name: str) -> str:
46
  url = get_style_image_url(style_name)
47
- return f'<center><img id="style-image" src="{url}" alt="style image"></center>'
48
 
49
 
50
  def update_slider(choice: str) -> dict:
 
44
 
45
  def get_style_image_markdown_text(style_name: str) -> str:
46
  url = get_style_image_url(style_name)
47
+ return f'<img id="style-image" src="{url}" alt="style image">'
48
 
49
 
50
  def update_slider(choice: str) -> dict:
style.css CHANGED
@@ -2,7 +2,7 @@ h1 {
2
  text-align: center;
3
  }
4
  img#overview {
5
- max-width: 800px;
6
  max-height: 600px;
7
  display: block;
8
  margin: auto;
@@ -10,6 +10,8 @@ img#overview {
10
  img#style-image {
11
  max-width: 1000px;
12
  max-height: 600px;
 
 
13
  }
14
  img#visitor-badge {
15
  display: block;
 
2
  text-align: center;
3
  }
4
  img#overview {
5
+ max-width: 1000px;
6
  max-height: 600px;
7
  display: block;
8
  margin: auto;
 
10
  img#style-image {
11
  max-width: 1000px;
12
  max-height: 600px;
13
+ display: block;
14
+ margin: auto;
15
  }
16
  img#visitor-badge {
17
  display: block;