Skip to content

Commit 1ea8340

Browse files
authoredOct 16, 2020
Merge pull request #1481 from nextcloud/fix/tribute-popup
Fix autocomplete popup size and shadow
2 parents 508833d + 97bcf17 commit 1ea8340

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/components/RichContenteditable/RichContenteditable.vue

+3-2
Original file line numberDiff line numberDiff line change
@@ -491,13 +491,14 @@ export default {
491491
min-width: 250px;
492492
max-width: 300px;
493493
// Show maximum 4 entries and a half to show scroll
494-
max-height: $clickable-area * 4.5;
494+
// 44px + 10px padding
495+
max-height: ($clickable-area + 20px) * 4.5;
495496
// Space it out a bit from the text
496497
margin: 5px 0;
497498
color: var(--color-main-text);
498499
border-radius: var(--border-radius);
499500
background: var(--color-main-background);
500-
box-shadow: 0 0 5px var(--color-box-shadow);
501+
box-shadow: 0 1px 5px var(--color-box-shadow);
501502
}
502503

503504
</style>

0 commit comments

Comments
 (0)
Please sign in to comment.