@capillarytech/creatives-library 8.0.230 → 8.0.231

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "8.0.230",
4
+ "version": "8.0.231",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -9,10 +9,14 @@ export const CapPageSpinner = (props) => {
9
9
 
10
10
  return (
11
11
  <CapRow className="cap-custom-page-spinner">
12
- <CapSpin spinning={props.spinning}>
13
- {props.children}
14
- </CapSpin>
15
- {props.spinning && <CapLabel className="cap-custom-page-spinner-text">{props.intl.formatMessage(messages.text)}</CapLabel>}
12
+ {props.spinning &&
13
+ <CapRow className="cap-custom-page-spinner-content">
14
+ <CapSpin spinning={props.spinning}>
15
+ {props.children}
16
+ </CapSpin>
17
+ {props.spinning && <CapLabel className="cap-custom-page-spinner-text">{props.intl.formatMessage(messages.text)}</CapLabel>}
18
+ </CapRow>
19
+ }
16
20
  </CapRow>
17
21
  );
18
22
  };
@@ -5,10 +5,22 @@
5
5
  flex-direction: row;
6
6
  align-items: center;
7
7
  justify-content: center;
8
- width: 100%;
9
- padding-top: 1.25rem;
10
8
  text-align: center;
11
9
  gap: 0.5rem;
10
+ background-color: white;
11
+
12
+ .cap-custom-page-spinner-content {
13
+ display: flex;
14
+ flex-direction: row;
15
+ align-items: center;
16
+ justify-content: center;
17
+ gap: 0.5rem;
18
+ position: fixed;
19
+ bottom: 0;
20
+ padding: 0.5rem;
21
+ border-radius: 0.5rem;
22
+ background-color: white;
23
+ }
12
24
 
13
25
  .cap-custom-page-spinner-text {
14
26
  color: $FONT_COLOR_02;
@@ -40,7 +40,7 @@ function CmsTemplatesComponent(props) {
40
40
  }, []);
41
41
 
42
42
  return (<CapSpin spinning={props.cmsTemplatesLoader}>
43
- <div className="v2-pagination-container">
43
+ <div className="pagination-container full-height">
44
44
  <CapCustomCardList cardList={cardDataList} type="Email" />
45
45
  </div>
46
46
  </CapSpin>);
@@ -1,5 +1,9 @@
1
1
  .v2-pagination-container{
2
- height: calc(100vh - 25rem);
2
+ height: calc(100vh - 20rem);
3
3
  overflow-y: auto;
4
4
  overflow-x: hidden;
5
5
  }
6
+
7
+ .v2-pagination-container.full-height {
8
+ height: 100vh;
9
+ }
@@ -2616,7 +2616,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
2616
2616
  }) : [];
2617
2617
  return (<div>
2618
2618
  <CapSpin spinning={isLoading} tip={loadingTip}>
2619
- {!_.isEmpty(templates) && <div className="v2-pagination-container">
2619
+ {!_.isEmpty(templates) && <div className="pagination-container full-height">
2620
2620
  <CapCustomCardList key={`${currentChannel}-card-list`} cardList={cardDataList} type={'Email'} />
2621
2621
  </div>}
2622
2622
  </CapSpin>
@@ -659,7 +659,7 @@
659
659
  }
660
660
  }
661
661
  .v2-pagination-container-half{
662
- height: calc(100vh - 22rem);
662
+ height: calc(100vh - 20rem);
663
663
  overflow-y: auto;
664
664
  overflow-x: hidden;
665
665
  }