I remember I had a hard time trying to stretch dialog to full screen for mobile devices, but it actually didn't want to work. The code was something like this:
this is most likely due to the absolute positioning. position: absolute will use the top-left corner of the closest ancestor that is "positioned" as the origin for it's layout [1]. If you want that origin to be the top-left corner of the viewport, use position: fixed.
In addition to `position: fixed`, shouldn't it be top, left, height, width, instead of top, left, bottom, right? In the second case, it would follow the top and left instructions then take the necessary amount of space, ignoring right and bottom?
If local storage is cleared, the notes will be deleted as well. I mainly use this tool for temporary notes, for notes I only need for the day, for example. It's also handy for quickly copy-pasting something, editing it in plain text, and copying it again. Previously, I used my main Notes app or my messenger for these tasks.
(function () {
var els = document.getElementsByTagName("li");
var startups = ["A web-based platform", "An AI-powered platform", "Uber for",
"Subscription-based service", "Blockchain", "A folder that syncs"]
for(var i = 4 ; i < els.length ; ++i) {
els[i].innerText = startups[Math.floor(Math.random() * startups.length)] + " for people who " + els[i].innerText;
}})()
Paste it into dev console on that page to receive an instant list of proper startup ideas.
The code is GPLv3, and can be trivially modified to generate further interesting startup ideas.
EDIT: Modified to add a greater variety of instant startup ideas!
I remember I had a hard time trying to stretch dialog to full screen for mobile devices, but it actually didn't want to work. The code was something like this:
dialog { position: absolute; top: 10px; right: 10px; bottom: 10px; left: 10px; }