fixed-action-btn align left does not align popup buttons


Topic: fixed-action-btn align left does not align popup buttons

neemevtmf asked 6 years ago

https://mdbootstrap.com/docs/jquery/components/buttons/ Section: Fixed buttons When setting just instead "right: 24px" left, popup buttons are not aligned correctly even in the code snippet

Just run code snippet from the doc page and replace "right" with "left". Popup buttons appear in the middle of page


Bartłomiej Malanowski staff pro premium answered 6 years ago

To fix it, simply add the following code to your .fixed-action-btn

left: 24px; right: unset;

Without this, the button's wrapper would be expanded and would take up almost the whole screen. That's why the icons are centered.


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 jQuery
  • MDB Version: 4.8.0
  • Device: PC
  • Browser: Chrome 74.0.3729.169
  • OS: Windows 10 Pro
  • Provided sample code: No
  • Provided link: Yes