Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,11 +37,19 @@ def test(inp):
|
|
| 37 |
with open("myfile.txt", "r") as file1:
|
| 38 |
html_out = file1.read()
|
| 39 |
style = '''
|
| 40 |
-
|
|
|
|
| 41 |
|
| 42 |
display: grid;
|
| 43 |
justify-items:end;
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
position: relative;
|
| 46 |
overflow: hidden;
|
| 47 |
width: 49%;
|
|
@@ -68,7 +76,9 @@ def test(inp):
|
|
| 68 |
{style}
|
| 69 |
</style>
|
| 70 |
<body>
|
|
|
|
| 71 |
{html_out}
|
|
|
|
| 72 |
</body>
|
| 73 |
</html>'''
|
| 74 |
return out
|
|
|
|
| 37 |
with open("myfile.txt", "r") as file1:
|
| 38 |
html_out = file1.read()
|
| 39 |
style = '''
|
| 40 |
+
|
| 41 |
+
.grid-mee {
|
| 42 |
|
| 43 |
display: grid;
|
| 44 |
justify-items:end;
|
| 45 |
|
| 46 |
+
|
| 47 |
+
width: 100%;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
.container-mee {
|
| 52 |
+
|
| 53 |
position: relative;
|
| 54 |
overflow: hidden;
|
| 55 |
width: 49%;
|
|
|
|
| 76 |
{style}
|
| 77 |
</style>
|
| 78 |
<body>
|
| 79 |
+
<div class=grid-mee>
|
| 80 |
{html_out}
|
| 81 |
+
</div>
|
| 82 |
</body>
|
| 83 |
</html>'''
|
| 84 |
return out
|