From a2da26da6970cbbc51bf52889682f9430f61dba9 Mon Sep 17 00:00:00 2001 From: Andrew Nicolaou Date: Wed, 11 Dec 2019 15:12:23 +0100 Subject: [PATCH] Better min-width for QuickAdd views --- client/modules/IDE/components/AddToCollectionList.jsx | 2 +- client/modules/IDE/components/AddToCollectionSketchList.jsx | 2 +- client/styles/components/_quick-add.scss | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/modules/IDE/components/AddToCollectionList.jsx b/client/modules/IDE/components/AddToCollectionList.jsx index 74aa2011..f1ede67d 100644 --- a/client/modules/IDE/components/AddToCollectionList.jsx +++ b/client/modules/IDE/components/AddToCollectionList.jsx @@ -75,7 +75,7 @@ class CollectionList extends React.Component { } return ( -
+
{this.getTitle()} diff --git a/client/modules/IDE/components/AddToCollectionSketchList.jsx b/client/modules/IDE/components/AddToCollectionSketchList.jsx index 2d3d1485..d99cc3cd 100644 --- a/client/modules/IDE/components/AddToCollectionSketchList.jsx +++ b/client/modules/IDE/components/AddToCollectionSketchList.jsx @@ -66,7 +66,7 @@ class SketchList extends React.Component { } return ( -
+
{this.getSketchesTitle()} diff --git a/client/styles/components/_quick-add.scss b/client/styles/components/_quick-add.scss index a707e0d6..1a5c63fe 100644 --- a/client/styles/components/_quick-add.scss +++ b/client/styles/components/_quick-add.scss @@ -1,6 +1,9 @@ +.quick-add-wrapper { + min-width: #{600 / $base-font-size}rem; +} + .quick-add { width: auto; - min-width: #{600 / $base-font-size}rem; padding: #{24 / $base-font-size}rem; }