Skip to content

Commit fc0f645

Browse files
committed
changed _RELEASE var to True and init height to 150
1 parent 45942be commit fc0f645

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

streamlit_condition_tree/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import streamlit as st
44
import streamlit.components.v1 as components
55

6-
_RELEASE = False
6+
_RELEASE = True
77

88
if not _RELEASE:
99
_component_func = components.declare_component(

streamlit_condition_tree/frontend/src/ConditionTree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class ConditionTree extends StreamlitComponentBase<State> {
159159
// Set frame height
160160
const height = Math.max(
161161
document.body.scrollHeight + 20,
162-
this.state.expanded ? this.props.args['min_height'] : 100
162+
this.state.expanded ? this.props.args['min_height'] : 150
163163
);
164164
Streamlit.setFrameHeight(height);
165165
}

0 commit comments

Comments
 (0)