diff --git a/client/modules/App/components/Overlay.jsx b/client/modules/App/components/Overlay.jsx
index 58587a5c..415a9a0e 100644
--- a/client/modules/App/components/Overlay.jsx
+++ b/client/modules/App/components/Overlay.jsx
@@ -66,9 +66,10 @@ class Overlay extends React.Component {
title,
children,
actions,
+ isFixedHeight,
} = this.props;
return (
-
+
this.setState({ sketchToAddToCollection: null })}
>
diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx
index 1b7745ae..87531ea5 100644
--- a/client/modules/IDE/pages/IDEView.jsx
+++ b/client/modules/IDE/pages/IDEView.jsx
@@ -383,6 +383,7 @@ class IDEView extends React.Component {
title="Add sketch to collection"
previousPath={this.props.ide.previousPath}
actions={}
+ isFixedHeight
>
} closeOverlay={this.hideAddSketches}>
+ } closeOverlay={this.hideAddSketches} isFixedHeight>
)
diff --git a/client/styles/components/_overlay.scss b/client/styles/components/_overlay.scss
index c8eafd1b..570452a4 100644
--- a/client/styles/components/_overlay.scss
+++ b/client/styles/components/_overlay.scss
@@ -46,3 +46,13 @@
@include icon();
padding: #{3 / $base-font-size}rem 0 #{3 / $base-font-size}rem #{10 / $base-font-size}rem;
}
+
+/* Fixed height overlay */
+.overlay--is-fixed-height .overlay__body {
+ height: 80vh;
+}
+
+.overlay--is-fixed-height .overlay__header {
+ flex: 0;
+}
+