audrey06100 commited on
Commit
f3b8b5d
·
1 Parent(s): e5fb3be
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,8 +61,8 @@ observe_js = """
61
  () => {
62
  const observer = new ResizeObserver((entries) => {
63
  entries.forEach((entry) => {
64
- const target = entry.target
65
- const newWidth = entry.contentRect.width
66
 
67
  target.style.backgroundSize = `${newWidth}px`;
68
  target.style.setProperty("--channel-indicator-size", `${newWidth*0.025}px`);
 
61
  () => {
62
  const observer = new ResizeObserver((entries) => {
63
  entries.forEach((entry) => {
64
+ const target = entry.target;
65
+ const newWidth = entry.contentRect.width;
66
 
67
  target.style.backgroundSize = `${newWidth}px`;
68
  target.style.setProperty("--channel-indicator-size", `${newWidth*0.025}px`);