Skip to content

Commit 3a6cff7

Browse files
committed
style:resize plot when shrinking / expanding the panel
1 parent b669e6e commit 3a6cff7

File tree

1 file changed

+6
-0
lines changed
  • packages/splunk_plotly_collection_viz/appserver/static/visualizations/scatterplot3d

1 file changed

+6
-0
lines changed

packages/splunk_plotly_collection_viz/appserver/static/visualizations/scatterplot3d/visualization.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ div.modebar-container {
1111
div[id^='modebar'].modebar .modebar-group {
1212
background-color: transparent !important;
1313
}
14+
15+
/* Resize plot when panel shrinks/expands */
16+
div[id^='scatterplot3dContainer_'] div#scene {
17+
top: 30px !important;
18+
height: calc(100% - 100px) !important;
19+
}

0 commit comments

Comments
 (0)