From 18c3e6660fd97da30cec84abfd9e8bf5ac48ce2d Mon Sep 17 00:00:00 2001 From: Charlie Powell <31997505+cp2004@users.noreply.github.com> Date: Tue, 17 Aug 2021 15:32:39 +0100 Subject: [PATCH 1/5] :bug: Remove CSS `width: auto` on announcements dialog, breaks things This makes the width of the modal really narrow when it is first opened & on certain screen sizes, removing this line appears to fix the issues. Closes #4216 --- src/octoprint/plugins/announcements/static/js/announcements.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/octoprint/plugins/announcements/static/js/announcements.js b/src/octoprint/plugins/announcements/static/js/announcements.js index 75720f39a..dccf4e953 100644 --- a/src/octoprint/plugins/announcements/static/js/announcements.js +++ b/src/octoprint/plugins/announcements/static/js/announcements.js @@ -209,7 +209,6 @@ $(function () { } }) .css({ - "width": "auto", "margin-left": function () { return -($(this).width() / 2); } From 53d73182dee834a7aa19b0a5f405e7a6c05cd061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 13 Sep 2021 09:42:23 +0200 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=90=9B=20Set=20autocapitalize=3Dnone?= =?UTF-8?q?=20on=20login=20form?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4226 --- src/octoprint/templates/login.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/templates/login.jinja2 b/src/octoprint/templates/login.jinja2 index 175738b6b..a7744ff96 100644 --- a/src/octoprint/templates/login.jinja2 +++ b/src/octoprint/templates/login.jinja2 @@ -50,7 +50,7 @@ {{ _('An account with the following permissions is required:') }} {{ permission_names|join(", ") }}

{% endif %} - + {{ _('Forgot password?') }}