Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When dealing with breakpoints, and more specifically with "em" breakpoints, you always need to use decimal values instead of integer ones.
Currently, superfish is casting the value as an integer, dropping everything after the decimal dot.
Proposed resolution
Cast as float instead of integer.
Remaining tasks
Patch, Review, Commit
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | superfish_floating-breakpoints_2769875-2.patch | 1.16 KB | DuaelFr |
Comments
Comment #2
DuaelFrComment #5
mehrpadin CreditAttribution: mehrpadin commentedHey there,
Thanks, applied to both D7 and 8.
Comment #6
mehrpadin CreditAttribution: mehrpadin commentedComment #7
DuaelFr\o/