Skip to content

Commit

Permalink
Introduce max width for dropdowns/popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Mar 4, 2024
1 parent 6fda31a commit fac5648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/utils/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const maxSizeModifiers: Array<Partial<Modifier<any, any>>> = [

state.styles.popper = {
...state.styles.popper,
maxWidth: `${width}px`,
maxWidth: `min(30rem, ${width}px)`,
maxHeight: `${height}px`
}
}
Expand Down

0 comments on commit fac5648

Please sign in to comment.