h1 { text-align: center; display: block; } #duplicate-button { margin: auto; color: #fff; background: #1565c0; border-radius: 100vh; } .js-plotly-plot .plotly { padding-top: 30px !important; background-color: white; } .js-plotly-plot .plotly .modebar { top: -30px !important; right: 10px !important; } .modebar-group { display: flex; flex-direction: row; align-items: center; }