diff --git a/pwa/src/components/game/LocationView.css b/pwa/src/components/game/LocationView.css index 2244e09..17e42be 100644 --- a/pwa/src/components/game/LocationView.css +++ b/pwa/src/components/game/LocationView.css @@ -9,20 +9,23 @@ } /* Padded Image for enemies */ -/* Padded Image for enemies */ +/* Padded Image for enemies - Matches item card structure but with padding */ .padded-image { padding: 10px; box-sizing: border-box; + width: 100%; + height: 100%; display: flex; align-items: center; justify-content: center; - width: 100%; - height: 100%; + overflow: hidden; } .padded-image img { + width: 100%; + height: 100%; object-fit: contain !important; - /* Ensure enemies don't get cropped by cover if padded */ + /* Ensure enemies don't get cropped */ } /* Remove old expanded grid styles */