Skip to content

preserve image content on desktop for groups and events page

setop requested to merge setop/mobilizon:fix-banners into main

Most people will display events / groups cards on Mobile where the ration of the image is more square. On desktop, where the event / group are created, the image is truncated, because the screen is wider.

The idea of the MR is to have a diplay on desktop close to the display on mobile. Then the user is empowered to find a good looking image.

This should fix #1022 (closed).

device before after
mobile Screen_Shot_2022-07-22_at_15.49.08 Screen_Shot_2022-07-22_at_15.48.56
desktop Screenshot_2022-07-22_at_15-49-27_Bougies_Be_Bees_-Fabrication_artisanale_de_bougies_en_pure_cire_d_abeille___bougies_be_bees Screenshot_2022-07-22_at_15-50-01_Bougies_Be_Bees_-Fabrication_artisanale_de_bougies_en_pure_cire_d_abeille___bougies_be_bees

Merge request reports