HelloZeroNet / HelloZeroNet/ZeroNet

Assume these values if content.json in site's root folder doesn't state otherwise

Open
#2,027 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

"viewport": "width=device-width, initial-scale=0.8",

This is important for responsive design on mobile phones. You'll also have the same size 0 button on all sites that don't state otherwise.

It will magically fix all sites to look as good on mobile as on desktop.

The problem is that without this, a bunch of sites have a shrunk 0 button and grown site elements in portrait. It becomes obnoxious and atrocious.

This is absolutely essential and necessary.

I'm tired of telling every site author how to fix their site so it displays properly on mobile, with no guarantee they will get around to it, if they're even still around or alive.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating how site-root content.json values are read and how the viewport setting is passed to generated pages. Confirm the default behavior for sites that do not specify a value, then verify that an explicit content.json value still takes precedence and that mobile rendering uses the requested viewport.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.