@@ -72,19 +72,19 @@ export default function CountrySelectorModal({ shown, onClose, currentCountry, o
7272 boxShadow : 'none' ,
7373 maxWidth : '100%' ,
7474 width : 'auto' ,
75- overflow : 'visible '
75+ overflow : 'hidden '
7676 } ,
7777 overlay : {
7878 background : 'rgba(0, 0, 0, 0.8)' ,
79- backdropFilter : 'blur(10px)' ,
80- overflow : 'auto'
79+ backdropFilter : 'blur(10px)'
8180 }
8281 } }
8382 >
8483 < div className = "join-party-card" style = { {
8584 maxWidth : '600px' ,
8685 width : '90vw' ,
8786 maxHeight : '80vh' ,
87+ overflow : 'hidden' ,
8888 display : 'flex' ,
8989 flexDirection : 'column' ,
9090 animation : 'slideInUp 0.6s ease-out'
@@ -111,12 +111,15 @@ export default function CountrySelectorModal({ shown, onClose, currentCountry, o
111111 overflowY : 'scroll' ,
112112 overflowX : 'hidden' ,
113113 WebkitOverflowScrolling : 'touch' ,
114- display : 'grid' ,
115- gridTemplateColumns : 'repeat(auto-fill, minmax(min(160px, 100%), 1fr))' ,
116- gap : '8px' ,
114+ overscrollBehavior : 'contain' ,
117115 marginBottom : '15px' ,
118116 paddingRight : '5px'
119117 } } >
118+ < div style = { {
119+ display : 'grid' ,
120+ gridTemplateColumns : 'repeat(auto-fill, minmax(min(160px, 100%), 1fr))' ,
121+ gap : '8px' ,
122+ } } >
120123 { filteredCountries . map ( code => (
121124 < button
122125 key = { code }
@@ -169,6 +172,7 @@ export default function CountrySelectorModal({ shown, onClose, currentCountry, o
169172 </ span >
170173 </ button >
171174 ) ) }
175+ </ div >
172176 </ div >
173177
174178 < div style = { { display : 'flex' , gap : '10px' , justifyContent : 'center' , flexShrink : 0 } } >
0 commit comments