Bulma: How to Add Scroll to Bulma Drop Down

Created on 28 Oct 2018  路  3Comments  路  Source: jgthms/bulma


This is about Bulma | DropDown.



Overview of the problem

This is about the Bulma CSS framework:
I have a long list of items (Over 30) in a drop down. The dropdown displays all of them. Is there a way to add a scroll bar and limit it to showing only like 5 items at a time that you can scroll through?




I am sure this issue is not a duplicate?
Yes (I cant find a solution)

Most helpful comment

image

https://codepen.io/jgthms/pen/aRMqZo

.dropdown-content {
  max-height: 13em;
  overflow: auto;
}

All 3 comments

image

https://codepen.io/jgthms/pen/aRMqZo

.dropdown-content {
  max-height: 13em;
  overflow: auto;
}

Thank you so much! For future reference so I don't have to ask silly questions like this again, where should I be looking for documentation on stuff like this in the future? Is this just css styling or special bulma css? Thanks

This is just CSS styling so it should be asked on Stack Overflow usually.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Cosbgn picture Cosbgn  路  3Comments

swthate picture swthate  路  3Comments

Wikiki picture Wikiki  路  3Comments

fundon picture fundon  路  3Comments

dotMastaz picture dotMastaz  路  3Comments