Skip to content

Conversation

@carlangas159
Copy link
Contributor

@carlangas159 carlangas159 commented Nov 30, 2020

Into https://campus.chamilo.org/plugin/buycourses/src/session_catalog.php?&page=5
imagen

It can be seen that, despite being 6 cards, the design is broken, this is because in one of the cards, the image does not respect the aspect by 1 px.
imagen

The height property differs from the other images
imagen

This pixel causes the images to not be ordered well.

A change is proposed for max-height. The image is encapsulated in a figure so that the image maintains its shape, however the figure is the one who will be the appropriate responsive container so that it does not break the design.
imagen

This way, even with resolutions of 3600 px wide, the original design will not be broken.
imagen

BT#17957

@ywarnier ywarnier merged commit a391905 into chamilo:1.11.x Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants