Skip to content

Commit

Permalink
Fix dropdown positioning inside container
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Feb 5, 2025
1 parent a9f4e2f commit 15f0e82
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs-assets/app/public/css/filament/support/support.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/support/dist/index.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions packages/support/resources/css/components/dropdown/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
.fi-dropdown {
@supports (container-type: inline-size) {
/* https://github.com/floating-ui/floating-ui/issues/3067 */
contain: layout;
}

& .fi-dropdown-trigger {
@apply flex cursor-pointer;
}
Expand Down

0 comments on commit 15f0e82

Please sign in to comment.