Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cards not behaves like original card in Bootstrap 4 - img issue #2

Closed
rafalradomski opened this issue Aug 16, 2016 · 3 comments
Closed

Comments

@rafalradomski
Copy link

rafalradomski commented Aug 16, 2016

When I add picture with different sizes to card I expect that image will automatically be extended to whole space in img box and the cards will have the same height always.

Cards in Bootstrap 4 Alpha

https://s4.postimg.io/bguhwks8d/bootstrap.png

How it works in MDB right now:

https://s4.postimg.io/9qbgv3ap9/mdb.png

@mdbootstrap
Copy link
Collaborator

mdbootstrap commented Aug 16, 2016

Update: this issue isn't actually an bug. In Bootstrap case you can see images are distorted. We definitely prefer to use responsive option with 100% width and auto height. This let you keep the correct ratio of image.

In our opinion is always better to prepare your pictures before (and set them the same size) than risk distortion.

@rafalradomski
Copy link
Author

Yes default behavior is like you described, but Bootstrap 4 offers as well option to group elements: and images have the same size.

Are you planing to implement that functionality?

@mdbootstrap
Copy link
Collaborator

In the upcoming update we'll enable all available in Bootstrap 4 alpha-3 options.

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

No branches or pull requests

1 participant