Skip to content

Commit 269b090

Browse files
committed
Update fdz-start and container styles for better layout consistency
1 parent e89971a commit 269b090

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

mdm-frontend/src/app/legacy/start/views/start.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="fdz-cc ma-auto">
1+
<div class="fdz-cc fdz-start-container">
22
<div class="fdz-center">
33
<div class="fdz-start flex">
44
<div class="fdz-start__header">

mdm-frontend/src/scss/fdz-theme/components/fdz/start-theme.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,19 @@ $card-border-radius: 2px !default;
66
align-items: center;
77
justify-content: center;
88
}
9+
10+
.fdz-start-container {
11+
margin-bottom: auto;
12+
margin-top: auto;
13+
}
14+
915
.fdz-start {
1016
position: relative;
1117
color: $foreground-1;
1218
background-color: $background-hue-1;
1319
border-radius: $card-border-radius;
20+
max-width: 100%;
21+
min-width: 0;
1422
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2),
1523
0px 1px 1px 0px rgba(0, 0, 0, 0.14),
1624
0px 2px 1px -1px rgba(0, 0, 0, 0.12);

0 commit comments

Comments
 (0)