File tree Expand file tree Collapse file tree 2 files changed +6
-17
lines changed
client/modules/IDE/components Expand file tree Collapse file tree 2 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ import { remSize } from '../../../theme';
1818const projectInCollection = ( project , collection ) =>
1919 collection . items . find ( ( item ) => item . projectId === project . id ) != null ;
2020
21- const CollectionAddSketchWrapper = styled . div `
21+ export const CollectionAddSketchWrapper = styled . div `
2222 width: ${ remSize ( 600 ) } ;
2323 max-width: 100%;
2424 overflow: auto;
2525` ;
2626
27- const QuickAddWrapper = styled . div `
27+ export const QuickAddWrapper = styled . div `
2828 width: ${ remSize ( 600 ) } ;
2929 max-width: 100%;
3030 padding: ${ remSize ( 24 ) } ;
Original file line number Diff line number Diff line change @@ -5,28 +5,17 @@ import { connect } from 'react-redux';
55import { bindActionCreators } from 'redux' ;
66import { withTranslation } from 'react-i18next' ;
77// import find from 'lodash/find';
8- import styled from 'styled-components' ;
98import * as ProjectsActions from '../actions/projects' ;
109import * as CollectionsActions from '../actions/collections' ;
1110import * as ToastActions from '../actions/toast' ;
1211import * as SortingActions from '../actions/sorting' ;
1312import getSortedSketches from '../selectors/projects' ;
1413import Loader from '../../App/components/loader' ;
1514import QuickAddList from './QuickAddList' ;
16- import { remSize } from '../../../theme' ;
17-
18- const CollectionAddSketchWrapper = styled . div `
19- width: ${ remSize ( 600 ) } ;
20- max-width: 100%;
21- overflow: auto;
22- ` ;
23-
24- const QuickAddWrapper = styled . div `
25- width: ${ remSize ( 600 ) } ;
26- max-width: 100%;
27- padding: ${ remSize ( 24 ) } ;
28- height: 100%;
29- ` ;
15+ import {
16+ CollectionAddSketchWrapper ,
17+ QuickAddWrapper
18+ } from './AddToCollectionList' ;
3019
3120class SketchList extends React . Component {
3221 constructor ( props ) {
You can’t perform that action at this time.
0 commit comments