Better min-width for QuickAdd views

This commit is contained in:
Andrew Nicolaou 2019-12-11 15:12:23 +01:00
parent 0c68327690
commit a2da26da69
3 changed files with 6 additions and 3 deletions

View file

@ -75,7 +75,7 @@ class CollectionList extends React.Component {
} }
return ( return (
<div className="quick-add--has-padding"> <div className="quick-add-wrapper">
<Helmet> <Helmet>
<title>{this.getTitle()}</title> <title>{this.getTitle()}</title>
</Helmet> </Helmet>

View file

@ -66,7 +66,7 @@ class SketchList extends React.Component {
} }
return ( return (
<div> <div className="quick-add-wrapper">
<Helmet> <Helmet>
<title>{this.getSketchesTitle()}</title> <title>{this.getSketchesTitle()}</title>
</Helmet> </Helmet>

View file

@ -1,6 +1,9 @@
.quick-add-wrapper {
min-width: #{600 / $base-font-size}rem;
}
.quick-add { .quick-add {
width: auto; width: auto;
min-width: #{600 / $base-font-size}rem;
padding: #{24 / $base-font-size}rem; padding: #{24 / $base-font-size}rem;
} }