amirhoseinsedaghati commited on
Commit
711d40b
1 Parent(s): 77dddfd

Update configs/html_features.py

Browse files
Files changed (1) hide show
  1. configs/html_features.py +1 -8
configs/html_features.py CHANGED
@@ -7,15 +7,8 @@ def set_image(url):
7
  <style>
8
  body {{
9
  background-image: url('{url}');
10
- background-size: cover;
11
  background-repeat: no-repeat;
12
- background-position: center center;
13
- }}
14
-
15
- @media (max-width: 768px) {{
16
- body {{
17
- background-size: auto;
18
- }}
19
  }}
20
  </style>
21
  """
 
7
  <style>
8
  body {{
9
  background-image: url('{url}');
10
+ background-size: 100%;
11
  background-repeat: no-repeat;
 
 
 
 
 
 
 
12
  }}
13
  </style>
14
  """