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';
18
18
const projectInCollection = ( project , collection ) =>
19
19
collection . items . find ( ( item ) => item . projectId === project . id ) != null ;
20
20
21
- const CollectionAddSketchWrapper = styled . div `
21
+ export const CollectionAddSketchWrapper = styled . div `
22
22
width: ${ remSize ( 600 ) } ;
23
23
max-width: 100%;
24
24
overflow: auto;
25
25
` ;
26
26
27
- const QuickAddWrapper = styled . div `
27
+ export const QuickAddWrapper = styled . div `
28
28
width: ${ remSize ( 600 ) } ;
29
29
max-width: 100%;
30
30
padding: ${ remSize ( 24 ) } ;
Original file line number Diff line number Diff line change @@ -5,28 +5,17 @@ import { connect } from 'react-redux';
5
5
import { bindActionCreators } from 'redux' ;
6
6
import { withTranslation } from 'react-i18next' ;
7
7
// import find from 'lodash/find';
8
- import styled from 'styled-components' ;
9
8
import * as ProjectsActions from '../actions/projects' ;
10
9
import * as CollectionsActions from '../actions/collections' ;
11
10
import * as ToastActions from '../actions/toast' ;
12
11
import * as SortingActions from '../actions/sorting' ;
13
12
import getSortedSketches from '../selectors/projects' ;
14
13
import Loader from '../../App/components/loader' ;
15
14
import 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' ;
30
19
31
20
class SketchList extends React . Component {
32
21
constructor ( props ) {
You can’t perform that action at this time.
0 commit comments