Merge pull request #18806 from nextcloud/bugfix/contactsmenu-fix-min
Set the contactsmenu height without min calculation
This commit is contained in:
commit
9eb16da35e
|
@ -991,8 +991,10 @@ span.ui-icon {
|
||||||
}
|
}
|
||||||
|
|
||||||
#header .header-right > div#contactsmenu > .menu {
|
#header .header-right > div#contactsmenu > .menu {
|
||||||
/* show ~4.5 entries */
|
/* show 2.5 to 4.5 entries depending on the screen height */
|
||||||
max-height: 278px;
|
height: calc(100vh - 50px * 3);
|
||||||
|
max-height: calc(50px * 4.5 + 50px);
|
||||||
|
min-height: calc(50px * 3.5);
|
||||||
width: 350px;
|
width: 350px;
|
||||||
|
|
||||||
.emptycontent {
|
.emptycontent {
|
||||||
|
@ -1006,9 +1008,9 @@ span.ui-icon {
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
/* fixed max height of the parent container without the search input */
|
/* fixed max height of the parent container without the search input */
|
||||||
max-height: min(calc(278px - 50px), calc(100vh - 50px * 3));
|
height: calc(100vh - 50px * 3 - 50px);
|
||||||
height: min(calc(278px - 50px), calc(100vh - 50px * 3));
|
max-height: calc(50px * 4.5);
|
||||||
min-height: calc(44px * 1.5);
|
min-height: calc(50px * 3.5 - 50px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
|
|
Loading…
Reference in New Issue