When viewing the Gratis theme on a touch device with a 960px wide viewport there is no main navigation. This was reported by a users of a LG G Pad in landscape mode and I've been able to replicate in Chrome emulating as a Google Nexus 7 (2nd gen). The issue appears to be that in styles.css there are different styles set with a max-width: 60em and min-width: 59.938em leaving a 0.62em window where nothing is displayed

CommentFileSizeAuthor
#5 960pxpatch-2430089-5.patch1.15 KBmhawksey
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Danny Englander’s picture

Assigned: Unassigned » Danny Englander

Bad oversight on my part. I was playing around with too many changes :). I've pushed a fix to dev so if there is a chance you could test that would be great. I'd like to make a new release soon with this fix.

Danny Englander’s picture

Status: Active » Fixed

mhawksey’s picture

FileSize
1.15 KB

Thanks for the quick fix. Just a thought that at 960px the theme is still in grid layout and as such users might expect the navigation bar. Switching to 59.938em instead of 60em would achieve this. [If it helps I'm attempting my first drupal patch]

Danny Englander’s picture

Hi Thanks for the patch and I really appreciate it. I think I'd like to keep the fix where it is now. Note, I actually changed some of the widths to 59.99em so there would be no gaps now. The menu media query is actually now 60em and changes over at 60.01em (961px).

Note, even if I could accept the patch, you would have had to update the Sass files and then compile the CSS. There's instructions how to do that in the readme. I do appreciate the effort though. Thanks.

Danny Englander’s picture

mhawksey’s picture

Ah okay generating a patch wasn't too hard, I'll try and do it for the right for next time ;)

[I'm domain admin for https://www.alt.ac.uk working on a sub of Gratis https://www.alt.ac.uk/about-site ]

Danny Englander’s picture

wow, this is fantastic. I'd like to start a section on the project page, "Gratis in the wild". Can I link to your site? Thank you

mhawksey’s picture

Sure - it would be a pleasure to be featured

Status: Fixed » Closed (fixed)

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