@capillarytech/creatives-library 2.0.73 → 2.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -4,15 +4,19 @@
|
|
|
4
4
|
padding: unset;
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
+
.creatives-templates-list.full-mode{
|
|
7
8
|
.pagination-container {
|
|
8
9
|
.cap-custom-card-list-row {
|
|
9
10
|
.cap-custom-card-list-col{
|
|
10
|
-
&:nth-child(4) {
|
|
11
|
+
&:nth-child(4n+4) {
|
|
11
12
|
margin-right: unset;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
16
20
|
|
|
17
21
|
.card-title {
|
|
18
22
|
line-height: 24px;
|
|
@@ -1589,7 +1589,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
1589
1589
|
const {route} = this.props;
|
|
1590
1590
|
const loadingTip = (this.props.Templates.sendingFile && (this.state.channel.toLowerCase() === 'email' || this.state.channel.toLowerCase() === 'ebill')) ? this.props.intl.formatMessage(messages.uploadingFile) : this.props.intl.formatMessage(messages.gettingAllTemplates);
|
|
1591
1591
|
return (
|
|
1592
|
-
<div>
|
|
1592
|
+
<div className={`creatives-templates-list ${this.props.isFullMode ? 'full-mode' : 'library-mode'}`}>
|
|
1593
1593
|
<input type="file" id="filename" style={{ display: 'none'}} accept=".zip, .html, .htm" onChange={(event) => this.handleFileUpload(event, {files: event.target.files})} />
|
|
1594
1594
|
|
|
1595
1595
|
|