How are the Phone and Tablet breakpoints defined? Can these be edited or can additional breakpoints be created?

CommentFileSizeAuthor
#8 additional_breakpoints-1897728-8.patch19.09 KBArkener
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Matt V.’s picture

The 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.

attiks’s picture

You may have a look at #1276908: Administrative tables are too wide for smaller screens, that added support for Drupal 8

Matt V.’s picture

Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sahaj’s picture

Maybe 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.

sahaj’s picture

Status: Closed (fixed) » Active
Matt V.’s picture

Category: Support request » Feature request

@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.

Arkener’s picture

Component: Documentation » Code
Status: Active » Needs review
FileSize
19.09 KB

I'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.

Arkener’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Needs review » Fixed

This functionality has been added to the 7.x-2.x branch

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.