The page is tiny on my phone
- HTML
- ESP32 pages
Why it happens
- The viewport line is missing from
<head>.
How to fix it
- Add
<meta name="viewport" content="width=device-width, initial-scale=1">inside<head>. - Use percentages or
max-widthinstead of wide fixed sizes.
It worked if: Text is readable without zooming.
Tutorials where it can happen
- Make It Fit the Phone: head, title and viewport
- Buttons That Do Things: Links as Switches
- ESP32 Async Web Server Code
- ESP32 DHT11 Web Server: Show Temperature and Humidity
- ESP32 Web Server: Control LED Brightness with a Slider
- ESP8266 NodeMCU Relay: Control AC Appliances
11 more
- How to make an ESP32 Web Server?
- How to make an ESP8266 Web Server?
- How to use the BLE on the ESP32?
- How Your Gadget Talks to Your Phone
- Make Your Control Panel Look Good with CSS
- Project: My Smart Room Control Panel
- Put Your Web Page on a Real ESP32
- Show Sensor Readings in a Table
- Sliders: a Dimmer for Your LED
- What is a Web Socket Server?
- Your First Page: the Skeleton of Every Gadget Page
From the official documentation. From MDN. Sources: MDN: viewport.
Didn't help? Search another error or ask us.

