From 63b4cd5a2a658ded446edd2032c127ced81877c8 Mon Sep 17 00:00:00 2001 From: arzumify Date: Fri, 15 Mar 2024 09:59:18 +0000 Subject: [PATCH 1/2] Fixed version string --- static/js/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/main.js b/static/js/main.js index 7007b94..36634b5 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -595,12 +595,12 @@ function isFirstTimeVisitor() { } function firstNewVersion() { - if (document.cookie.indexOf("version=1.1") !== -1) { + if (document.cookie.indexOf("version=1.2") !== -1) { return false; } else { var expirationDate = new Date(); expirationDate.setFullYear(expirationDate.getFullYear() + 1); - document.cookie = "version=1.1; expires=" + expirationDate.toUTCString() + "; path=/; SameSite=strict"; + document.cookie = "version=1.2; expires=" + expirationDate.toUTCString() + "; path=/; SameSite=strict"; return true; } } @@ -638,5 +638,5 @@ if (isFirstTimeVisitor() && /Android|iPhone|iPod/i.test(navigator.userAgent)) { } if (firstNewVersion()) { - displayError("What's new in Burgernotes 1.1?\n\nNote titles are now the first line of a note \(will not break compatibility with older notes\)\nIntroduced improved login screen\nNote titles now scroll correctly") + displayError("What's new in Burgernotes 1.2?\n\nNote titles are now the first line of a note \(will not break compatibility with older notes\)\nIntroduced improved login screen\nNote titles now scroll correctly") } From ee24a684668bed039d9f282718de65e0d3cd7da3 Mon Sep 17 00:00:00 2001 From: arzumify Date: Fri, 15 Mar 2024 10:08:42 +0000 Subject: [PATCH 2/2] Update static/css/style.css --- static/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index 3448bc9..1212323 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -276,7 +276,6 @@ body { margin-bottom: 0; background-color: var(--note-button); color: var(--unselected-note-button-text-color); - border: none; border-radius: 8px; border: solid; @@ -286,6 +285,7 @@ body { text-align: left; cursor: pointer; + white-space: nowrap; overflow-x: hidden; }