Skip to content

Commit

Permalink
change css: make component scrollbars appear when compnent is hovered
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzidanas committed May 28, 2023
1 parent 8b004d1 commit 9e8d77d
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code_editor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def code_editor(code, lang='python', theme="default", shortcuts="vscode", height
ace_props = {"style": {"borderRadius": "0px 0px 8px 8px"}}

input = st.text_area("Input:", demo_sample_python_code, height=200)
response_dict = code_editor(input, height = height, lang=language, theme=theme, shortcuts=shortcuts, focus=focus, buttons=btns, info=info_bar, props=ace_props, options={"wrap": wrap})
response_dict = code_editor(input, height = height, lang=language, theme=theme, shortcuts=shortcuts, focus=focus, buttons=btns, info=info_bar, props=ace_props, options={"wrap": wrap}, allow_reset=True, key="code_editor_demo")

if response_dict['type'] == "submit" and len(response_dict['text']) != 0:
st.write("Response type: ", response_dict['type'])
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 9e8d77d

Please sign in to comment.