audrey06100 commited on
Commit
98ead68
·
1 Parent(s): 83f76c6
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -116,10 +116,10 @@ init_js = """
116
  el.querySelector(":scope > span").innerText = "";
117
  el.querySelector(":scope > input").style.cssText = `
118
  position: absolute;
 
119
  width: var(--channel-indicator-size);
120
  height: var(--channel-indicator-size);
121
  transform: translate(-50%, -50%);
122
- z-index: 2;
123
  `;
124
  });
125
 
@@ -143,12 +143,12 @@ init_js = """
143
  ${selector}::after {
144
  content: "${name}";
145
  position: absolute;
 
146
  left: ${left+2.7}%;
147
  bottom: ${bottom}%;
148
  font-size: var(--channel-name-size);
149
  font-weight: 900;
150
  color: red;
151
- z-index: 1;
152
  }
153
  `;
154
  // check if indicator already exist
@@ -210,12 +210,12 @@ update_js = """
210
  ${selector}::after {
211
  content: "${name}";
212
  position: absolute;
 
213
  left: ${left+2.7}%;
214
  bottom: ${bottom}%;
215
  font-size: var(--channel-name-size);
216
  font-weight: 900;
217
  color: red;
218
- z-index: 1;
219
  }
220
  `;
221
 
 
116
  el.querySelector(":scope > span").innerText = "";
117
  el.querySelector(":scope > input").style.cssText = `
118
  position: absolute;
119
+ z-index: 2;
120
  width: var(--channel-indicator-size);
121
  height: var(--channel-indicator-size);
122
  transform: translate(-50%, -50%);
 
123
  `;
124
  });
125
 
 
143
  ${selector}::after {
144
  content: "${name}";
145
  position: absolute;
146
+ z-index: 1;
147
  left: ${left+2.7}%;
148
  bottom: ${bottom}%;
149
  font-size: var(--channel-name-size);
150
  font-weight: 900;
151
  color: red;
 
152
  }
153
  `;
154
  // check if indicator already exist
 
210
  ${selector}::after {
211
  content: "${name}";
212
  position: absolute;
213
+ z-index: 1;
214
  left: ${left+2.7}%;
215
  bottom: ${bottom}%;
216
  font-size: var(--channel-name-size);
217
  font-weight: 900;
218
  color: red;
 
219
  }
220
  `;
221