Comments (12)
I pushed an updated to set min width to 320px
, should be enough for most of devices
from hugo-book.
Hi!
Which device and android version you use for test?
I targeted minimum screen width as 400px, also there is required meta tag here
Do you, by chance, set font/view scaling in android?
from hugo-book.
From screenshot looks like it's header getting out of screen, right?
Blocks of code are scrollable horizontally, and this is intentional
from hugo-book.
The smaller one is Huawei ALE-L21, Android 6.0, bigger is Huawei RNE-L21, Android 8.0.0.
I made another screenshot where the problem is more obvious. Look for example on phrase "arma sorori" or "vetuere aliis, modo":
So it's header and body text which don't scale.
I don't recall setting any font/view scaling in my devices.
from hugo-book.
Update: the issue concerns Firefox browser, on Chrome I can scale down manually.
from hugo-book.
To have proper rendering in Firefox I have to enable scaling fonts to system fonts in the browser settings and set the system font size to "small".
from hugo-book.
I see, I will try to reproduce.
from hugo-book.
Same issue on Samsung devices with Samsung Internet as browser: the page is truncated a bit to the right and you can pinch to zoom out and see the full page fitting exactly screen width. Not super practical though because you have to do it for every page (using the demo site for testing).
from hugo-book.
I have a suggestion, it might be due to pixel ratio. For example, right now minimal width is set to 400px
, screen of test device is 720px
with pixel ratio 2
, which will make effective rendering into 360px
Quite similar. I will try to confirm this.
from hugo-book.
Yes it looks exactly like this on my Samsung S9.
from hugo-book.
@alex-shpak #27 seems to solve the problem in all my devices, both in Chrome and Firefox, thanks.
from hugo-book.
👍 I will close then, feel free to re-open if it pops up again.
from hugo-book.
Related Issues (20)
- Is there a way to show an image or text on mouseover? HOT 1
- How to add a clearness image in markdown files. HOT 1
- Documentation for Menu
- Installation HOT 1
- README: broken Link HOT 1
- Only show search when JS is enabled HOT 3
- Use null alt text for "minor forms of clipart"? HOT 1
- Set the default value of BookTheme to auto? HOT 2
- Error: "no mixin named theme-light" HOT 1
- Headless branch bundles not rendering in menu in Hugo >0.123.5 HOT 3
- Is there a way to have the homepage (/landing page) in left menu (/book ToC) with subsections? HOT 2
- Main Markdown heading (level 1: #) not in page ToC (right hand side menu) HOT 2
- links in shortcodes 'columns' do not work HOT 4
- change formatting of markdown heading HOT 5
- Would consider doing an 11ty version?
- markup highlight not work HOT 1
- Curious to know how to control the part of each blog that will display in the homepage of posts HOT 3
- Title and date of posts are not shown HOT 1
- Any experience about using Giscus comment in the hugo-book theme? HOT 2
- Adding copy to clipboard support for highlight code blocks HOT 2
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 hugo-book.