diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2018-12-13 16:07:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 16:07:18 +0300 |
commit | 6e913298724b508ae1fb0653b56f43db067d60a5 (patch) | |
tree | 726793b762dfef8081cfb02a79eac35aa0ee86ef /core/css | |
parent | 7034df7d77dda48971b86cf006b843444f667f4d (diff) | |
parent | 5723f77ef720daf7ae1d5d697472ddf52c7f9f8c (diff) |
Merge pull request #12923 from nextcloud/fix/12832/share-autocomplete
Fixes the share autocomplete layout
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/jquery-ui-fixes.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/css/jquery-ui-fixes.scss b/core/css/jquery-ui-fixes.scss index eab22e70d62..31714dc34b3 100644 --- a/core/css/jquery-ui-fixes.scss +++ b/core/css/jquery-ui-fixes.scss @@ -171,8 +171,17 @@ .ui-autocomplete { &.ui-menu { padding: 0; + + /* scrolling starts from three items, + * so hide overflow and scrollbars for a clean layout */ + &.item-count-1, + &.item-count-2 { + overflow-y: hidden; + } + .ui-menu-item a { color: var(--color-text-lighter); + display: block; padding: 4px 4px 4px 14px; &.ui-state-focus, &.ui-state-active { |