diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-01-10 08:05:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-10 08:05:42 +0100 |
commit | 4b28da1dd9a6acf4f04b69474f18ce883323caa3 (patch) | |
tree | 7854a5cb7358afbb59f864364d3a7f9aeb84f2fb /core/css | |
parent | e886ce72185e78ac5ca031d28eb249f98df14841 (diff) | |
parent | f2e466905f8eb6142f287b9fd5ef9e6c8bb683b6 (diff) | |
download | nextcloud-server-4b28da1dd9a6acf4f04b69474f18ce883323caa3.tar.gz nextcloud-server-4b28da1dd9a6acf4f04b69474f18ce883323caa3.zip |
Merge pull request #18752 from nextcloud/bugfix/contacts-menu-scroll
Fix contacts menu sizing
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/styles.scss | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss index 7c6b7f8ad59..ef4ac4c7123 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -990,16 +990,10 @@ span.ui-icon { } } -#contactsmenu > .menu { +#header .header-right > div#contactsmenu > .menu { /* show ~4.5 entries */ - height: 278px; + max-height: 278px; width: 350px; - max-width: 90%; - right: 13px; - - &::after { - right: 61px; - } .emptycontent { margin-top: 5vh !important; @@ -1011,8 +1005,10 @@ span.ui-icon { } .content { - max-height: calc(100% - #{$header-height}); - height: 100%; + /* fixed max height of the parent container without the search input */ + max-height: min(calc(278px - 50px), calc(100vh - 50px * 3)); + height: min(calc(278px - 50px), calc(100vh - 50px * 3)); + min-height: calc(44px * 1.5); overflow-y: auto; .footer { |