From 497af61712ced63883d479c609e8570508350dd3 Mon Sep 17 00:00:00 2001 From: cp2004 <31997505+cp2004@users.noreply.github.com> Date: Sat, 5 Sep 2020 21:09:55 +0100 Subject: [PATCH] :lipstick: Fix max height of action command notification output --- .../static/css/action_command_notification.css | 6 ++++++ .../templates/action_command_notification_sidebar.jinja2 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/octoprint/plugins/action_command_notification/static/css/action_command_notification.css b/src/octoprint/plugins/action_command_notification/static/css/action_command_notification.css index ed15d2c39..e15340a1e 100644 --- a/src/octoprint/plugins/action_command_notification/static/css/action_command_notification.css +++ b/src/octoprint/plugins/action_command_notification/static/css/action_command_notification.css @@ -3,3 +3,9 @@ line-height: 20px; border-bottom: 1px solid #ddd; } + +.sidebar_plugin_action_command_notification_scrollable { + overflow-x: hidden; + overflow-y: scroll; + max-height: 306px; +} diff --git a/src/octoprint/plugins/action_command_notification/templates/action_command_notification_sidebar.jinja2 b/src/octoprint/plugins/action_command_notification/templates/action_command_notification_sidebar.jinja2 index 67e8557c7..1118af0f3 100644 --- a/src/octoprint/plugins/action_command_notification/templates/action_command_notification_sidebar.jinja2 +++ b/src/octoprint/plugins/action_command_notification/templates/action_command_notification_sidebar.jinja2 @@ -1,5 +1,5 @@
-
+