I can’t seem to make the hello button be on top. It goes on top of other components, but not on top of tab buttons and dcc.Graph / dt.Table components
import dash
from dash.dependencies import Input, Output, State
import dash_core_components as dcc
import dash_html_components as html
app = dash.Dash()
app.css.append_css({"external_url": "https://codepen.io/chriddyp/pen/bWLwgP.css"})
app.layout = html.Div([
html.Div([
html.Button('hello', id='hello')
],
style={
'position': 'fixed',
'z-index': 2147483647,
'top': '0px',
'right': '0px',
'margin': 0,
'padding': 0
# 'width': '55px',
# 'height': '55px'
}),
html.Div([
dcc.Tabs(),
dcc.Tabs(),
dcc.Tabs(),
dcc.Tabs(),
dcc.Tabs(),
dcc.Tabs(),
dcc.Tabs(),
dcc.Tabs(),
dcc.Graph(figure={}),
dcc.Graph(figure={}),
dcc.Graph(figure={})
], style={'z-index': 1})
])
if __name__ == '__main__':
app.run_server()