Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Cascade card narrow

abhilashswe pro asked 6 years ago


Cascade Card - "narrow" style with Card Image as  "div tag" is not displaying properly in MDB React Pro.

Jakub Strebeyko staff answered 6 years ago


Hi there abhilashswe Thanks for reaching out! Please note that as in accordance with the docs, the props making the picture go 'narrow' (or 'wide', or 'reverse') are applied to the parent <Card> component, while its children (usually <CardImage> and <CardBody>) get the 'cascade' prop (whenever the 'cascading' effect is involved). Giving the <CardImg> a tag prop of "div" will always have it display improperly, as it is rendering an image. Hope it helps. With Best Regards, Kuba

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.7.1
  • Device: Laptop
  • Browser: Mozilla
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags