Spaces:
Running
on
Zero
Running
on
Zero
Joffrey Thomas
commited on
Commit
·
a3407a6
1
Parent(s):
adf0b3e
SVG fix
Browse files
app.py
CHANGED
|
@@ -605,11 +605,8 @@ APP_BOOT_JS = """
|
|
| 605 |
const img = document.getElementById('street-image');
|
| 606 |
if (!btn || !wrapper || !img || btn.dataset.initialized === '1') return;
|
| 607 |
|
| 608 |
-
|
| 609 |
-
const
|
| 610 |
-
|
| 611 |
-
<!-- Exit Icon (arrows pointing outward) -->
|
| 612 |
-
const exitIcon = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 3h3a2 2 0 0 1 2 2v3m14 0v3a2 2 0 0 1-2 2h-3m0-18H5a2 2 0 0 0-2 2v3m18 12v-3a2 2 0 0 0-2-2h-3"/></svg>';
|
| 613 |
|
| 614 |
btn.innerHTML = enterIcon;
|
| 615 |
const originalImgParentStyle = img.parentElement.style;
|
|
|
|
| 605 |
const img = document.getElementById('street-image');
|
| 606 |
if (!btn || !wrapper || !img || btn.dataset.initialized === '1') return;
|
| 607 |
|
| 608 |
+
const enterIcon = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" y1="3" x2="14" y2="10"></line><line x1="3" y1="21" x2="10" y2="14"></line></svg>';
|
| 609 |
+
const exitIcon = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 14 10 14 10 20"></polyline><polyline points="20 10 14 10 14 4"></polyline><line x1="14" y1="10" x2="21" y2="3"></line><line x1="3" y1="21" x2="10" y2="14"></line></svg>';
|
|
|
|
|
|
|
|
|
|
| 610 |
|
| 611 |
btn.innerHTML = enterIcon;
|
| 612 |
const originalImgParentStyle = img.parentElement.style;
|