Skip to content

Commit ad9fa4d

Browse files
committed
#1388 Add bottom space and scrolling for mapping menus
Include bottom padding in the content container to account for open menus. Make the content container scrollable if needed when a menu opens. Applies the .page-content class similar to that in the flows view.
1 parent 7312e98 commit ad9fa4d

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

quick-start/src/main/ui/app/mappings/mappings.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646

4747
</div>
4848
<gm-divider></gm-divider>
49-
<div gm-col class="flex-100">
50-
51-
<router-outlet></router-outlet>
52-
49+
<div gm-col class="flex-100 maps-content">
50+
<div class="page-content">
51+
<router-outlet></router-outlet>
52+
</div>
5353
</div>
5454
</div>
5555
</div>

quick-start/src/main/ui/app/mappings/mappings.component.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ $header-height: 48px;
3434
}
3535
}
3636

37+
.page-content {
38+
position: absolute;
39+
top: 0px;
40+
left: 0px;
41+
right: 0px;
42+
bottom: 0px;
43+
overflow: auto;
44+
padding: 8px 8px 300px 8px;
45+
}
46+
3747
.mdl-layout-title {
3848
width: 100%;
3949
display: flex;

0 commit comments

Comments
 (0)