Skip to content

Commit d20a268

Browse files
authored
Merge pull request #163 from dxc-technology/layout-standard
Fixed footer in standard layout
2 parents bf19ecc + 4fee7eb commit d20a268

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

projects/dxc-ngx-cdk/src/lib/dxc-standard/dxc-standard.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export class DxcStandardComponent implements OnInit {
4646

4747
getDynamicStyle(inputs) {
4848
return css`
49+
min-height: 100vh;
50+
margin: 0;
51+
display: flex;
52+
flex-direction: column;
4953
dxc-header{
5054
width: 100%;
5155
}
@@ -59,6 +63,7 @@ export class DxcStandardComponent implements OnInit {
5963
}
6064
dxc-footer{
6165
width: 100%;
66+
margin-top: auto;
6267
}
6368
`;
6469
}

0 commit comments

Comments
 (0)