audrey06100 commited on
Commit
6a07f0a
·
1 Parent(s): e67e970
Files changed (1) hide show
  1. app.py +1 -1
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 auto`;
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