Make it only display on iOS

This commit is contained in:
Tracker-Friendly 2024-02-14 18:12:29 +00:00
parent 412bd0fdd9
commit 2f35c0a70e
2 changed files with 4 additions and 1 deletions

View File

@ -94,6 +94,7 @@ h4,
h5, h5,
h6 { h6 {
color: var(--text-color); color: var(--text-color);
white-space: break-spaces;
} }
h7 { h7 {

View File

@ -614,4 +614,6 @@ removeBox.addEventListener("click", (event) => {
} }
}); });
if (isFirstTimeVisitor() && /iPhone|iPad|iPod/i.test(navigator.userAgent)) {
displayError("To use PageBurger:\n Swipe Right on a note to open it\n Swipe left in the text boxes to return to notes\n Click on a note to highlight it") displayError("To use PageBurger:\n Swipe Right on a note to open it\n Swipe left in the text boxes to return to notes\n Click on a note to highlight it")
}