Comments (2)
I think the problem is at a width of 768 pixels - maybe my tablet has some scaling for web pages. Here's part of the problem at https://github.com/jeblister/kube/blob/master/static/js/kube.js#L396
isMobileScreen: function()
{
return ($(window).width() <= 768);
},
isTabletScreen: function()
{
return ($(window).width() >= 768 && $(window).width() <= 1024);
},
Note comparisons for <= 768 and >=768, the second expression should be >768 as none of the code blocks match at exactly 768 pixels.
I'm not sure if this is the final fix - I modified kube.js (and moved kube.min.js out of the way) but the issue is not resolved, so perhaps there's another code block somewhere with this same bad logic. Still debugging that bit and I'll get a pull request out if this problem is entirely within this repo.
from kube.
OK, I've got it fixed. pull request inbound...
from kube.
Related Issues (20)
- hamburger on mobile does not stay on top of page.
- Multilingual Mode, rtl and bidi
- Failed on loading resources HOT 4
- Add heading anchors for every title in a doc page
- 404 page HOT 1
- Why is the favicon embedded in every page? HOT 2
- Modifying landing page HOT 1
- No Permalink field when defining menu.extra
- blog/single.html contains hard-wired box HOT 1
- Top nav not pulling through HOT 1
- How to create hyperlink to locally stored HTML files
- Posts are blank HOT 1
- fails to build site with hugo-0.96
- Docs - Events HOT 1
- Sticky navbar
- Cannot override single.html HOT 2
- Empty master.js file included HOT 1
- Google verification code is not working HOT 2
- WARNING: date and/or title missing from archetype file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube.