Adding a scroll bar for Region filter box

* This code has been added in patch 3.5 (WordPress version)

You can use the following CSS override to enable scroll bar for the Region filter box

#filter__states .filter__toggler-contents {
    max-height: 265px;
    overflow: auto;
    -webkit-transition: margin-top 0.25s ease-in-out;
       -moz-transition: margin-top 0.25s ease-in-out;
         -o-transition: margin-top 0.25s ease-in-out;
            transition: margin-top 0.25s ease-in-out;
}
#filter__states .filter__toggler-contents.is-transitionable {
    -webkit-transition-property: height, margin-top;
       -moz-transition-property: height, margin-top;
         -o-transition-property: height, margin-top;
            transition-property: height, margin-top;
}
#filter__states .filter__toggler-contents.is-toggled {
    margin-top: 15px;
}

More info on how to use CSS override available here.

3+

Users who have LIKED this post:

  • avatar