namirasoft-site-react 1.2.31 → 1.2.33

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.
@@ -5,7 +5,7 @@ import { NSHeader } from './NSHeader';
5
5
  import { NSFooter } from './NSFooter';
6
6
  export class NSLayout extends Component {
7
7
  render() {
8
- return (_jsxs("div", { children: [_jsxs("div", Object.assign({ className: "d-flex flex-column text-white" }, { children: [_jsx(NSHeader, { scope: this.props.scope, name: "Header", logo: this.props.logo }), _jsxs("div", { children: [_jsx("h1", { children: this.props.title }), _jsx("h4", Object.assign({ className: "page-description" }, { children: this.props.description }))] }), _jsx("main", Object.assign({ className: "container" }, { children: this.props.children }))] })), _jsx("div", Object.assign({ className: Styles.ns_footer }, { children: _jsx(NSFooter, { scope: this.props.scope, name: "Footer", logo: this.props.logo }) }))] }));
8
+ return (_jsxs("div", Object.assign({ className: Styles.ns_container }, { children: [_jsxs("div", Object.assign({ className: "d-flex flex-column text-white" }, { children: [_jsx(NSHeader, { scope: this.props.scope, name: "Header", logo: this.props.logo }), _jsxs("div", { children: [_jsx("h1", { children: this.props.title }), _jsx("h4", Object.assign({ className: "page-description" }, { children: this.props.description }))] }), _jsx("main", Object.assign({ className: "container" }, { children: this.props.children }))] })), _jsx("div", Object.assign({ className: Styles.ns_footer }, { children: _jsx(NSFooter, { scope: this.props.scope, name: "Footer", logo: this.props.logo }) }))] })));
9
9
  }
10
10
  }
11
11
  //# sourceMappingURL=NSLayout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSLayout.js","sourceRoot":"","sources":["../../src/components/NSLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,MAAM,OAAO,QAAS,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AAI,EAC1E,0BACI,uBAAK,IAAI,CAAC,KAAK,CAAC,KAAK,GAAM,EAC3B,2BAAI,SAAS,EAAC,kBAAkB,gBAAE,IAAI,CAAC,KAAK,CAAC,WAAW,IAAM,IAC5D,EACN,6BAAM,SAAS,EAAC,WAAW,gBACtB,IAAI,CAAC,KAAK,CAAC,QAAQ,IACjB,KACJ,EACP,4BAAK,SAAS,EAAE,MAAM,CAAC,SAAS,gBAC5B,KAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAI,IACxE,KACJ,CACT,CAAC;IACN,CAAC;CACJ"}
@@ -1,5 +1,10 @@
1
+ .ns_container {
2
+ min-height: 100vh;
3
+ display: flex;
4
+ flex-direction: column;
5
+ }
6
+
1
7
  .ns_footer {
2
- position: fixed;
3
- bottom: 0;
8
+ margin-top: auto;
4
9
  width: 100%;
5
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "namirasoft-site-react",
3
- "version": "1.2.31",
3
+ "version": "1.2.33",
4
4
  "main": "./dist/main.js",
5
5
  "types": "./dist/main.d.ts",
6
6
  "dependencies": {
@@ -1,5 +1,10 @@
1
+ .ns_container {
2
+ min-height: 100vh;
3
+ display: flex;
4
+ flex-direction: column;
5
+ }
6
+
1
7
  .ns_footer {
2
- position: fixed;
3
- bottom: 0;
8
+ margin-top: auto;
4
9
  width: 100%;
5
10
  }
@@ -17,7 +17,7 @@ export class NSLayout extends Component<IProps>
17
17
  override render()
18
18
  {
19
19
  return (
20
- <div>
20
+ <div className={Styles.ns_container}>
21
21
  <div className="d-flex flex-column text-white">
22
22
  <NSHeader scope={this.props.scope} name="Header" logo={this.props.logo} />
23
23
  <div>