?
avatar Saurabh1
Saurabh1
31 Aug 2017

Steps to reproduce the issue.

Use the card code from bootstrap component and put it in any article. https://getbootstrap.com/docs/4.0/components/card/
While testing creating Card using bootstrap 4 Card component code straight from bootstrap page
https://getbootstrap.com/docs/4.0/components/card/ (v4.0.0-beta) , I have seen that code what we have in repository is may be old or we have different code in it. Issue with the class is, it doesn't take padding for the body of card.

For example: In Login Module, Code shows class="card-block" but in latest version of bootstrap 4 it is used as class="card-body". So far only found with card-body class.( I will upload more as I find out or test)

Does that mean we have an old code? or we have modified code of bootstrap classes?

It would be nice to have the same all classes from bootstrap library and use it so developers/users can use the same code and change only text as they need. It will be easy for them.

Expected result

card-image-1

Actual result

card-image-2

avatar Saurabh1 Saurabh1 - open - 31 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - change - 31 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Aug 2017
avatar Saurabh1 Saurabh1 - change - 31 Aug 2017
The description was changed
avatar Saurabh1 Saurabh1 - edited - 31 Aug 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 31 Aug 2017
Category Layout
avatar SharkyKZ
SharkyKZ - comment - 31 Aug 2017

See #17496. You should update to current 4.0-dev.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Aug 2017

@Saurabh1 if the Hint of @SharkyKZ solves your Issue, please close it, thanks.

avatar C-Lodder
C-Lodder - comment - 31 Aug 2017

How exactly are you applying this card to the article?

avatar Saurabh1
Saurabh1 - comment - 31 Aug 2017

@SharkyKZ I think we should change code to the Beta than Dev becasue it is more stable. Not to go back in old days.

@franz-wohlkoenig My point is to update with latest version of Bootstrap 4 which will be released as stable and stable version will have same classes as I am using right now since it is in Beta version.

@C-Lodder I am just copying and pasting the code from Bootstrap page into Article. I have also tried to override couple of things but it has same issues due to class differences.

avatar brianteeman
brianteeman - comment - 31 Aug 2017

@Saurabh1 i dont understand your coments to @SharkyKZ or @franz-wohlkoenig

If your branch is upto date then we are using the beta of bs4

avatar Saurabh1
Saurabh1 - comment - 31 Aug 2017

@brianteeman I will check with latest version again, I believe I have the version from a week ago.

avatar Saurabh1
Saurabh1 - comment - 31 Aug 2017

It seems to be solved with updated version. Thanks @brianteeman

avatar Saurabh1 Saurabh1 - change - 31 Aug 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-08-31 16:18:35
Closed_By Saurabh1
avatar Saurabh1 Saurabh1 - close - 31 Aug 2017

Add a Comment

Login with GitHub to post a comment