Topic: ScrollSpy Component
How to make ScrollSpy component between the left side and the right-side to be equal-size? Thank you very much for your assistance.
I see that textbox in the ScrollSpy component have a default class
scrollspy-example which sets height on
12.5rem. If you want to change the default height of the
MDBScrollSpyText component you need to create a class that overwrites this class.
I suggest you use CSS Flex to achieve the equal-size of both sides.
Let me know if you have solved the problem. If there is anything else I could do for you do not hesitate to ask me. I'll be happy to help you.
Could you show me how to do it? Could you give a clue with a snippet to do that? Thank you.
My snippet will do not work in this case because you need to specify height what you want to achieve and use your custom media queries.
Here is a good site where you can read about CSS Flex. It's super easy and quick to understand the tutorial. Click here
- User: Pro
- Premium support: Yes
- Technology: React
- MDB Version: 4.22.1
- Device: PC
- Browser: Mozilla Firefox
- OS: MS Windows 7
- Provided sample code: No
- Provided link: No