Skip to content

Sidebar z-index bug#96

Merged
jrhone merged 2 commits intostreamlit:developfrom
jrhone:sidebar_z
Sep 13, 2019
Merged

Sidebar z-index bug#96
jrhone merged 2 commits intostreamlit:developfrom
jrhone:sidebar_z

Conversation

@jrhone
Copy link
Copy Markdown
Contributor

@jrhone jrhone commented Sep 12, 2019

Set z-index of BaseUI component layers to the z-index of Vega Lite popups

Copy link
Copy Markdown
Contributor

@tvst tvst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved after changes.

ReactDOM.render(
<StyletronProvider value={engine}>
<BaseProvider theme={LightTheme}>
<BaseProvider theme={LightTheme} zIndex={102}>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use an SCSS variable for this?

See the z-index section in frontend/src/assets/css/variables.scss, which can be imported in TS via frontend/src/autogen/scssVariables.ts.

@jrhone jrhone merged commit 407a9ae into streamlit:develop Sep 13, 2019
tconkling added a commit to tconkling/streamlit that referenced this pull request Sep 13, 2019
* develop:
  Black + Pre-commit Hook (streamlit#81)
  Sidebar z-index bug (streamlit#96)
  Fix bug where message is not initialized in the spinner code (streamlit#101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants