Skip to content

Commit 53b7bf8

Browse files
committed
fix(dialog): stop the recipient picker overflowing the dialog
NcSelectUsers defaults to min-width: 260px and its focus box-shadow can spill past the dialog padding, making the "Add people" control wider than the dialog. Pin it to the container width (min-width: 0, max-width: 100%, border-box) like the preset select. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent 9315faf commit 53b7bf8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

lib/dialog/components/SharePanel.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,15 @@ form.share-panel {
333333
334334
.share-panel__recipient-search {
335335
width: 100%;
336+
337+
// NcSelectUsers (vue-select) defaults to min-width: 260px, which can force the
338+
// control wider than the dialog and let its focus box-shadow spill past the
339+
// padding. Pin it to the container like the preset select.
340+
:deep(.select) {
341+
min-width: 0;
342+
max-width: 100%;
343+
box-sizing: border-box;
344+
}
336345
}
337346
338347
.share-panel__link-actions {

0 commit comments

Comments
 (0)