kopia lustrzana https://github.com/FacilMap/facilmap
Introduce max width for dropdowns/popovers
rodzic
6fda31ad35
commit
fac5648945
|
@ -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`
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue