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.
How are the Phone and Tablet breakpoints defined? Can these be edited or can additional breakpoints be created?
Comment | File | Size | Author |
---|---|---|---|
#8 | additional_breakpoints-1897728-8.patch | 19.09 KB | Arkener |
Comments
Comment #1
Matt V. CreditAttribution: Matt V. commentedThe current breakpoints are defined by the Footable plugin itself (see the "Breakpoints" section on the FooTable page).
I'd like to add support for customizing the breakpoints. One possibility would be to integrate with the existing Breakpoints module, so that customized breakpoints would only need to be defined once, rather than separately for individual modules. I haven't had a chance to get to that yet. Patches are welcome though.
Comment #2
attiks CreditAttribution: attiks commentedYou may have a look at #1276908: Administrative tables are too wide for smaller screens, that added support for Drupal 8
Comment #3
Matt V. CreditAttribution: Matt V. commentedComment #5
sahaj CreditAttribution: sahaj commentedMaybe I'm missing something, but as #1276908: Administrative tables are too wide for smaller screens is about Drupal 8, I don't get how it is fixing this issue.
Thanks for any hint.
Comment #6
sahaj CreditAttribution: sahaj commentedComment #7
Matt V. CreditAttribution: Matt V. commented@sahaj,
I wasn't sure about the connection with #1276908 either. I closed the issue more based on comment #1 having answered the original support request and the fact that the issue had sat unchanged for quite a while.
For the time being, I'm re-categorizing this to be a Feature request. I encourage you (or anyone else who wants to) to submit a patch to add support for additional breakpoints, especially if you can work out a way to make them work with the existing breakpoints module as I mentioned above.
Comment #8
Arkener CreditAttribution: Arkener as a volunteer commentedI've attached a patch that will provide customizable breakpoints and gives you the option to overwrite the default phone / tablet breakpoints. The patch will also allow you to use the "Default" and "all" breakpoints of the FooTable plugin.
I've taken a look at the integration of the Breakpoints module into this module, but the Breakpoints module works with media queries, which do not work in combination with the FooTable plugin.
Comment #9
Arkener CreditAttribution: Arkener as a volunteer commentedThis functionality has been added to the 7.x-2.x branch