JanhaviZarapkar commited on
Commit
a949df4
·
verified ·
1 Parent(s): 8ff692b

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -12
app.py CHANGED
@@ -3,18 +3,17 @@ import streamlit as st
3
  import altair as alt
4
 
5
  st.set_page_config(page_title="Building Inventory Analysis", layout="wide")
6
- # st.markdown(
7
- # """
8
- # <style>
9
- # /* Adjust the body overflow for smooth fullscreen experience */
10
- # body {
11
- # overflow-y: hidden; /* Hide vertical scrollbars */
12
- # overflow-x: hidden; /* Hide horizontal scrollbars */
13
- # }
14
- # </style>
15
- # """,
16
- # unsafe_allow_html=True,
17
- # )
18
 
19
  st.markdown(
20
  """
 
3
  import altair as alt
4
 
5
  st.set_page_config(page_title="Building Inventory Analysis", layout="wide")
6
+ import streamlit.components.v1 as components
7
+
8
+ components.html(
9
+ """
10
+ <script>
11
+ document.querySelector('iframe').style.height = '100vh';
12
+ </script>
13
+ """,
14
+ height=0, # Prevents extra space for the component
15
+ )
16
+
 
17
 
18
  st.markdown(
19
  """