diff --git a/resources/js/Components/FlightsGoneBy/FlightMap.vue b/resources/js/Components/FlightsGoneBy/FlightMap.vue index 3de3318..6d726aa 100644 --- a/resources/js/Components/FlightsGoneBy/FlightMap.vue +++ b/resources/js/Components/FlightsGoneBy/FlightMap.vue @@ -659,7 +659,9 @@ export default defineComponent({ const fitBounds = (): void => { if (!props.flights.length) return - const padding = props.compact ? 50 : 60 + const padding = props.compact + ? { top: 20, bottom: 20, left: 55, right: 55 } + : { top: 60, bottom: 60, left: 60, right: 60 } const lngs = props.flights.flatMap(f => [f.departure_airport.longitude_deg, f.arrival_airport.longitude_deg]) const lats = props.flights.flatMap(f => [f.departure_airport.latitude_deg, f.arrival_airport.latitude_deg])