Topic: Fluid modal with margin-top

RalfGlaser free asked 4 years ago


Expected behavior I want to use a fluid modal on the right side for my contact form. As I have a second sticky nav under the main top navbar I need the fluid modal to have a top offset of 100px. Then I would like to have the modal-body to be set to "overflow-y: auto" to give space to larger content. Actual behavior Tried setting the modal to position: relative; top: 100px. This does it but it hides 100px of the modal under the viewport. So in the case of my contact form the "submit" button stays under the viewport ... Does anyone have an idea on how to achieve this? Thanks in advance!


MDBootstrap staff commented 4 years ago

Hi RalfGlaser, please provide a snippet example of your problem. I will find problem in your implementation and prepare solution fo you.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.2
  • Device: PC
  • Browser: Chrome
  • OS: Mac OS X
  • Provided sample code: No
  • Provided link: No