File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/components/shared/map Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -224,17 +224,15 @@ const MapCenter = ({ entryType }: MapCenterProps) => {
224
224
</ div >
225
225
</ div >
226
226
{ /* Static Scope - should always be centered */ }
227
- < div className = "absolute z-10 pointer-events-none top-[54.2 %] left-[49.4 %] transform -translate-x-1/2 -translate-y-1/2 w-20 h-20 sm:w-16 sm:h-16" >
227
+ < div className = "absolute z-10 pointer-events-none top-[53.5 %] left-[47.3 %] transform -translate-x-1/2 -translate-y-1/2" style = { { width : '65px' , height : '65px' } } >
228
228
< Image
229
229
src = "/images/icons/scope.png"
230
- className = "w-full h-full"
231
- style = { {
232
- width : '65px' ,
233
- height : '65px'
234
- } }
235
230
alt = "Scope"
231
+ layout = "fill" // Automatically fills the parent container
232
+ className = "w-full h-full object-contain" // Ensure proper scaling
236
233
/>
237
234
</ div >
235
+
238
236
{ showPopup && (
239
237
< ConfirmDialogX
240
238
toggle = { ( ) => setShowPopup ( false ) }
You can’t perform that action at this time.
0 commit comments