Topic: icon class="prefix" covers text
clouddudes free asked 1 year ago
Expected behavior Large icon next to the list dropdown
Actual behavior Large icon covers the list dropdown
Resources (screenshots, code snippets etc.) Hello, here is the code I'm using. I've tried putting the "i" tag after the "select" tag but before the first "option" tag. I've also tried putting it before the text of the first "option" tag but it does not have the same behavior as the other fields. It will either be covering the list as the screenshot shows or it will not show at all.
<div class="md-form"> <i class="fas fa-microphone prefix white-text"></i> <select class="mdb-select"> <option value="" disabled selected>Escoje sermon o radio</option> <option value="1">Option 1</option> <option value="2">Option 2</option> </select>
This topic is closed.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: MDB4 4.20.0
- Device: Computer
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No