Skip to content

Commit a2da26d

Browse files
committed
Better min-width for QuickAdd views
1 parent 0c68327 commit a2da26d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

client/modules/IDE/components/AddToCollectionList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class CollectionList extends React.Component {
7575
}
7676

7777
return (
78-
<div className="quick-add--has-padding">
78+
<div className="quick-add-wrapper">
7979
<Helmet>
8080
<title>{this.getTitle()}</title>
8181
</Helmet>

client/modules/IDE/components/AddToCollectionSketchList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class SketchList extends React.Component {
6666
}
6767

6868
return (
69-
<div>
69+
<div className="quick-add-wrapper">
7070
<Helmet>
7171
<title>{this.getSketchesTitle()}</title>
7272
</Helmet>

client/styles/components/_quick-add.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
.quick-add-wrapper {
2+
min-width: #{600 / $base-font-size}rem;
3+
}
4+
15
.quick-add {
26
width: auto;
3-
min-width: #{600 / $base-font-size}rem;
47
padding: #{24 / $base-font-size}rem;
58
}
69

0 commit comments

Comments
 (0)