Skip to content

Commit c36f99b

Browse files
committed
Fixed layout min-height
1 parent 9319114 commit c36f99b

File tree

11 files changed

+11
-9
lines changed

11 files changed

+11
-9
lines changed

dist/components/layout/Layout.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export interface LayoutProps extends React.HTMLProps<HTMLDivElement> {
44
declare const Layout: {
55
({ className, children, ...rest }: LayoutProps): React.JSX.Element;
66
Brand: ({ ...rest }: import("./components/LayoutBrand").LayoutBrandProps) => React.JSX.Element;
7-
Container: ({ className, children, style, ...rest }: import("./components/LayoutContainer").LayoutContainerProps) => React.JSX.Element;
7+
Container: ({ className, children, ...rest }: import("./components/LayoutContainer").LayoutContainerProps) => React.JSX.Element;
88
Main: ({ className, children, ...rest }: import("./components/LayoutMain").LayoutMainProps) => React.JSX.Element;
99
};
1010
export default Layout;

dist/components/layout/components/LayoutContainer.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import React from 'react';
22
import { ContainerProps } from 'react-bootstrap';
33
export interface LayoutContainerProps extends ContainerProps {
44
}
5-
declare const LayoutContainer: ({ className, children, style, ...rest }: LayoutContainerProps) => React.JSX.Element;
5+
declare const LayoutContainer: ({ className, children, ...rest }: LayoutContainerProps) => React.JSX.Element;
66
export default LayoutContainer;
77
//# sourceMappingURL=LayoutContainer.d.ts.map

dist/components/layout/components/LayoutContainer.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13336,6 +13336,7 @@ textarea.form-control-lg {
1333613336
.layout-container {
1333713337
transition: width 0.3s ease;
1333813338
overflow: auto;
13339+
min-height: calc(100vh - 8rem);
1333913340
}
1334013341

1334113342
.search-input {

dist/index.es.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13336,6 +13336,7 @@ textarea.form-control-lg {
1333613336
.layout-container {
1333713337
transition: width 0.3s ease;
1333813338
overflow: auto;
13339+
min-height: calc(100vh - 8rem);
1333913340
}
1334013341

1334113342
.search-input {

dist/index.es.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29283,8 +29283,8 @@ var LayoutBrand = function (_a) {
2928329283
};
2928429284

2928529285
var LayoutContainer = function (_a) {
29286-
var className = _a.className, children = _a.children, style = _a.style, rest = __rest(_a, ["className", "children", "style"]);
29287-
return (React.createElement(Container$1, __assign$1({ fluid: true, className: classNames('d-flex flex-column px-0 layout-container', className, 'col'), style: __assign$1(__assign$1({}, style), { minHeight: '100vh' }) }, rest), children));
29286+
var className = _a.className, children = _a.children, rest = __rest(_a, ["className", "children"]);
29287+
return (React.createElement(Container$1, __assign$1({ fluid: true, className: classNames('d-flex flex-column px-0 layout-container', className, 'col') }, rest), children));
2928829288
};
2928929289

2929029290
var LayoutMain = function (_a) {

dist/index.min.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13336,6 +13336,7 @@ textarea.form-control-lg {
1333613336
.layout-container {
1333713337
transition: width 0.3s ease;
1333813338
overflow: auto;
13339+
min-height: calc(100vh - 8rem);
1333913340
}
1334013341

1334113342
.search-input {

dist/index.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/layout/Layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.layout-container {
22
transition: width 0.3s ease;
33
overflow: auto;
4+
min-height: calc(100vh - 8rem);
45
}

src/components/layout/components/LayoutContainer.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export interface LayoutContainerProps extends ContainerProps {}
77
const LayoutContainer = ({
88
className,
99
children,
10-
style,
1110
...rest
1211
}: LayoutContainerProps) => {
1312
return (
@@ -18,7 +17,6 @@ const LayoutContainer = ({
1817
className,
1918
'col'
2019
)}
21-
style={{ ...style, minHeight: '100vh' }}
2220
{...rest}
2321
>
2422
{children}

0 commit comments

Comments
 (0)