@capillarytech/creatives-library 7.0.7 → 7.0.8
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
|
@@ -184,7 +184,7 @@ class TemplatePreview extends React.Component { // eslint-disable-line react/pre
|
|
|
184
184
|
"padding": '3.5px 0 0',
|
|
185
185
|
'border-radius': '8px',
|
|
186
186
|
'background-color': CAP_G15,
|
|
187
|
-
'width': '
|
|
187
|
+
'width': '81%',
|
|
188
188
|
};
|
|
189
189
|
const getVideoContent = ({
|
|
190
190
|
video,
|
|
@@ -614,9 +614,9 @@ class TemplatePreview extends React.Component { // eslint-disable-line react/pre
|
|
|
614
614
|
'background-color': CAP_PURPLE01,
|
|
615
615
|
"margin-top": '14px',
|
|
616
616
|
'text-align': 'center',
|
|
617
|
-
"width": '
|
|
617
|
+
"width": '140px',
|
|
618
618
|
"height": '20px',
|
|
619
|
-
"margin-left": "
|
|
619
|
+
"margin-left": "2px",
|
|
620
620
|
}}>
|
|
621
621
|
<p
|
|
622
622
|
style={{ 'font-size': '12px',
|
|
@@ -564,7 +564,7 @@ const Viber = (props) => {
|
|
|
564
564
|
const createCallback = (errorMessage, isEdit) => {
|
|
565
565
|
if (!errorMessage) {
|
|
566
566
|
CapNotification.success({
|
|
567
|
-
message: formatMessage(messages.viberCreateNotification),
|
|
567
|
+
message: isEdit ? formatMessage(messages.viberEditNotification) : formatMessage(messages.viberCreateNotification),
|
|
568
568
|
});
|
|
569
569
|
if (isEdit) {
|
|
570
570
|
actions.clearEditResponse();
|
|
@@ -118,6 +118,10 @@ export default defineMessages({
|
|
|
118
118
|
id: `${scope}.viberCreateNotification`,
|
|
119
119
|
defaultMessage: 'Viber template created successfully',
|
|
120
120
|
},
|
|
121
|
+
viberEditNotification: {
|
|
122
|
+
id: `${scope}.viberEditNotification`,
|
|
123
|
+
defaultMessage: 'Viber template updated successfully',
|
|
124
|
+
},
|
|
121
125
|
textMessageTitlePlaceholder: {
|
|
122
126
|
id: `${scope}.textMessageTitlePlaceholder`,
|
|
123
127
|
defaultMessage: 'Enter template name',
|