namirasoft-site-react 1.3.104 → 1.3.105

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.
@@ -17,6 +17,6 @@ export function NSLoginPage(props) {
17
17
  height: "48px",
18
18
  boxShadow: "inset 0 - 4px 4px 0px rgb(0 0 0 / 25 %)"
19
19
  } });
20
- return (_jsx("div", { style: { backgroundImage: props.background, width: "100%", backgroundSize: "cover" }, children: _jsxs("div", { className: `${Styles.ns_login_container}`, style: { marginTop: "100px" }, children: [_jsx("div", { className: `${Styles.ns_logo}`, children: _jsx("img", { width: 256, height: 256, src: props.logo, alt: `${props.title} Logo` }) }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), _jsx("div", { children: _jsx("h1", { className: `${Styles.ns_title}`, children: props.title }) }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), _jsx("div", { className: `${Styles.ns_button}`, children: button })] }) }));
20
+ return (_jsx("div", { style: { backgroundImage: props.background, width: "100%", backgroundSize: "cover", backgroundAttachment: "fixed" }, children: _jsxs("div", { className: `${Styles.ns_login_container}`, style: { minHeight: "100vh" }, children: [_jsx("div", { className: `${Styles.ns_logo}`, children: _jsx("img", { width: 256, height: 256, src: props.logo, alt: `${props.title} Logo` }) }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), _jsx("div", { children: _jsx("h1", { className: `${Styles.ns_title}`, children: props.title }) }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), _jsx("div", { className: `${Styles.ns_button}`, children: button })] }) }));
21
21
  }
22
22
  //# sourceMappingURL=NSLoginPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSLoginPage.js","sourceRoot":"","sources":["../../src/pages/NSLoginPage.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,0BAA0B,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MA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,OAAO,EAAE,YAC/B,cAAK,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,KAAK,OAAO,GAAQ,GAC/E,EACN,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,wBAAK,aAAI,SAAS,EAAE,GAAG,MAAM,CAAC,QAAQ,EAAE,YAAG,KAAK,CAAC,KAAK,GAAM,GAAM,EAClE,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,SAAS,EAAE,YAChC,MAAM,GACL,IACJ,GACH,CACV,CAAC;AACN,CAAC"}
@@ -7,17 +7,14 @@
7
7
 
8
8
  .ns_logo {
9
9
  text-align: center;
10
- margin: auto;
11
10
  }
12
11
 
13
12
  .ns_title {
14
13
  font-size: 32px;
15
14
  font-weight: 700;
16
- margin: auto;
17
15
  text-align: center;
18
16
  }
19
17
 
20
18
  .ns_button {
21
- margin: auto;
22
19
  text-align: center;
23
20
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.104",
11
+ "version": "1.3.105",
12
12
  "author": "Amir Abolhasani, Alireza Esmaeeli, Sepideh Mazloumi, Hooman Shashaeh",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -7,17 +7,14 @@
7
7
 
8
8
  .ns_logo {
9
9
  text-align: center;
10
- margin: auto;
11
10
  }
12
11
 
13
12
  .ns_title {
14
13
  font-size: 32px;
15
14
  font-weight: 700;
16
- margin: auto;
17
15
  text-align: center;
18
16
  }
19
17
 
20
18
  .ns_button {
21
- margin: auto;
22
19
  text-align: center;
23
20
  }
@@ -29,8 +29,8 @@ export function NSLoginPage(props: INSLoginPageProps)
29
29
  boxShadow: "inset 0 - 4px 4px 0px rgb(0 0 0 / 25 %)"
30
30
  }} />;
31
31
  return (
32
- <div style={{ backgroundImage: props.background, width: "100%", backgroundSize: "cover" }}>
33
- <div className={`${Styles.ns_login_container}`} style={{ marginTop: "100px" }}>
32
+ <div style={{ backgroundImage: props.background, width: "100%", backgroundSize: "cover", backgroundAttachment: "fixed" }}>
33
+ <div className={`${Styles.ns_login_container}`} style={{ minHeight: "100vh" }}>
34
34
  <div className={`${Styles.ns_logo}`}>
35
35
  <img width={256} height={256} src={props.logo} alt={`${props.title} Logo`}></img>
36
36
  </div>