Spaces:
Running
Running
Commit
·
6a07f0a
1
Parent(s):
e67e970
update
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ observe_js = """
|
|
64 |
const target = entry.target
|
65 |
const newWidth = entry.contentRect.width
|
66 |
|
67 |
-
target.style.backgroundSize = `${newWidth}px
|
68 |
target.style.setProperty("--indication-dot-size", `${newWidth*0.025}px`);
|
69 |
target.style.setProperty("--indication-text-size", `${newWidth*0.035}px`);
|
70 |
|
|
|
64 |
const target = entry.target
|
65 |
const newWidth = entry.contentRect.width
|
66 |
|
67 |
+
target.style.backgroundSize = `${newWidth}px`;
|
68 |
target.style.setProperty("--indication-dot-size", `${newWidth*0.025}px`);
|
69 |
target.style.setProperty("--indication-text-size", `${newWidth*0.035}px`);
|
70 |
|