Skip to content

Commit

Permalink
Merge pull request #378 from awcodes/fix/filepond-height
Browse files Browse the repository at this point in the history
Fix: Filepond height bug
  • Loading branch information
awcodes authored Dec 13, 2023
2 parents 52e0554 + da83b12 commit 1ea49ca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions resources/css/plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
@apply text-sm;
}
}

.filepond--root {
min-height: 300px;
}
}

[wire\:key*="open_curator_picker"],
Expand Down
2 changes: 1 addition & 1 deletion resources/dist/curator.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/views/components/modals/curator-panel.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class="w-5 h-5"

<div class="flex-1 overflow-auto px-4 pb-4">
<div class="h-full">
<div class="mb-4">
<div class="mb-4 mt-px">
{{ $this->form }}
</div>
<x-filament-actions::modals />
Expand Down
1 change: 0 additions & 1 deletion src/Components/Modals/CuratorPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ public function form(Form $form): Form
->required()
->multiple()
->label(__('curator::forms.fields.file'))
->panelAspectRatio('4:3')
->preserveFilenames($this->shouldPreserveFilenames)
->maxWidth($this->maxWidth)
->minSize($this->minSize)
Expand Down

0 comments on commit 1ea49ca

Please sign in to comment.