fix the menu height issue (#2438)

This commit is contained in:
Denys Vuika 2017-10-05 17:11:17 +01:00 committed by Eugenio Romano
parent b8b3d0a3c9
commit 337c97d94c
2 changed files with 9 additions and 5 deletions

View File

@ -48,7 +48,7 @@
{{ 'CORE.PAGINATION.TOTAL_PAGES' | translate: { total: pages.length } }}
</span>
<md-menu #pagesMenu="mdMenu">
<md-menu #pagesMenu="mdMenu" class="adf-pagination__page-selector">
<button
md-menu-item
*ngFor="let pageNumber of pages"

View File

@ -45,7 +45,7 @@
padding-left: 16px;
justify-content: flex-start;
}
&__perpage-block {
order: 3;
width: 50%;
@ -53,7 +53,7 @@
padding-left: 16px;
justify-content: flex-start;
}
&__actualinfo-block {
order: 2;
width: 50%;
@ -61,14 +61,14 @@
padding-right: 16px;
justify-content: flex-end;
}
&__controls-block {
order: 4;
width: 50%;
box-sizing: border-box;
padding-right: 16px;
justify-content: flex-end;
}
}
}
&__max-items {
@ -91,6 +91,10 @@
margin: 0 5px;
}
&__page-selector {
max-height: 250px !important;
}
button[md-icon-button] {
width: $adf-pagination--icon-button-size;
height: $adf-pagination--icon-button-size;