Skip to content

Commit 223c77c

Browse files
committed
fix: make autocomplete take full height #544
1 parent 8686e1e commit 223c77c

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/app/modules/shared/components/sidebar/sidebar.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
</ul>
3030
</div>
3131
</nav>
32-
<div class="container-fluid">
33-
<div class="content_app">
32+
<div class="container-fluid px-0 full-height">
33+
<div class="content_app h-100">
3434
<router-outlet></router-outlet>
3535
</div>
3636
</div>

src/app/modules/shared/components/sidebar/sidebar.component.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ body {
4444
}
4545

4646
.content_app {
47-
padding: 5rem 3rem;
47+
padding: 2rem 3rem 5rem 3rem;
4848
overflow-y: auto;
4949
}
5050

@@ -54,3 +54,11 @@ body {
5454
text-decoration: underline;
5555
border-color: $primary;
5656
}
57+
58+
.full-height {
59+
height: 100%;
60+
height: -moz-calc(100vh - 12vh);
61+
height: -webkit-calc(100vh - 12vh);
62+
height: -o-calc(100vh - 12vh);
63+
height: calc(100vh - 12vh);
64+
}

0 commit comments

Comments
 (0)