How to float MDBBtnFixed relative to MDBCardHeader


Topic: How to float MDBBtnFixed relative to MDBCardHeader

jackerdey asked 5 years ago

Is it possible to float a MDBBtnFixed button so that it overlaps and stays relative to a MDBCardHeader?

Using the sample from the help I am able to float it relative to the position of the window.


Jakub Chmura staff premium answered 5 years ago

Hi,

It's impossible to set position absolute or relative to MDBBtnFixed with the props (you can try to set inline styles, but I can't give you my word that will work in every situation). If you want to achieve the same structure as in the examples from the documentation you need to use an MDBBtn component and build your own structure.

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
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.20.0
  • Device: Laptop
  • Browser: Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No