Omnibus commited on
Commit
475b489
·
1 Parent(s): 5b20fc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -15,7 +15,7 @@ def search_fn(query):
15
  out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
16
  out = out[0]
17
 
18
- frame_l=f'<div class="container-mee"><iframe class="responsive-iframe-mee" src="{out}" frameborder="0" width="100%" height="2000"></iframe></div>'
19
 
20
  file.writelines(frame_l)
21
 
@@ -38,9 +38,13 @@ def test(inp):
38
  html_out = file1.read()
39
  style = '''
40
  .container-mee {
 
 
 
 
41
  position: relative;
42
  overflow: hidden;
43
- width: 30%;
44
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
45
  }
46
 
 
15
  out = (re.split(":(?=http)",link["href"].replace("/url?q=","").split("&sa",1)[0]))
16
  out = out[0]
17
 
18
+ frame_l=f'<div class="container-mee"><iframe class="responsive-iframe-mee" src="{out}" frameborder="3"></iframe></div>'
19
 
20
  file.writelines(frame_l)
21
 
 
38
  html_out = file1.read()
39
  style = '''
40
  .container-mee {
41
+
42
+ display: flex;
43
+ justify-content: space-between;
44
+
45
  position: relative;
46
  overflow: hidden;
47
+ width: 50%;
48
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
49
  }
50