VladB46 commited on
Commit
8a3e160
·
verified ·
1 Parent(s): 03cebd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ components.html(
121
  """
122
  <script>
123
  function sendHeightWhenReady() {
124
- const el = window.parent.document.getElementsByClassName('st-emotion-cache-b95f0i')[0];
125
  if (el) {
126
  const height = el.scrollHeight;
127
  console.log("Sending height to parent:", height);
 
121
  """
122
  <script>
123
  function sendHeightWhenReady() {
124
+ const el = window.parent.document.getElementsByClassName('stMain')[0];
125
  if (el) {
126
  const height = el.scrollHeight;
127
  console.log("Sending height to parent:", height);