audrey06100 commited on
Commit
8ebaa15
·
1 Parent(s): 4896b2e
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -191,7 +191,8 @@ update_js = """
191
  name = item.querySelector(":scope > input").value;
192
  left = channel_info.inputDict[name].css_position[0];
193
  bottom = channel_info.inputDict[name].css_position[1];
194
- item.style.cssText = `position: absolute; left: ${left}; bottom: ${bottom};`;
 
195
  });
196
 
197
  }else if(stage1_info.state == "step3-2-selecting"){
 
191
  name = item.querySelector(":scope > input").value;
192
  left = channel_info.inputDict[name].css_position[0];
193
  bottom = channel_info.inputDict[name].css_position[1];
194
+ item.style.left = `${left}`;
195
+ item.style.bottom = `${bottom}`;
196
  });
197
 
198
  }else if(stage1_info.state == "step3-2-selecting"){