From 1e804d97cec2294d464651b46acd3f8a56314d6c Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 1 Jul 2021 17:23:52 +0100 Subject: [PATCH 1/2] Fix padding of compact notification Closes #3045 --- .../@node-red/editor-client/src/sass/notifications.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/sass/notifications.scss b/packages/node_modules/@node-red/editor-client/src/sass/notifications.scss index e2617f995..52e8509b3 100644 --- a/packages/node_modules/@node-red/editor-client/src/sass/notifications.scss +++ b/packages/node_modules/@node-red/editor-client/src/sass/notifications.scss @@ -60,13 +60,13 @@ } .red-ui-notification-compact { - p { - margin: 0; - } .ui-dialog-buttonset { + button { + line-height: 12px; + } margin-top: 0; position: absolute; - top: 8px; + top: 6px; right: 10px; } } From b848fe249ff7f19af02513119d8782b86a9bb3c2 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 1 Jul 2021 21:01:11 +0100 Subject: [PATCH 2/2] Remove stray console.log from mqtt.html --- .../node_modules/@node-red/nodes/core/network/10-mqtt.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html index 7b96aaf2f..406abf57d 100644 --- a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html +++ b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html @@ -812,10 +812,7 @@ default: !this.expiry ? 'none':'num', types: [typedInputNoneOpt, 'num'] }); - $("#node-input-contentType").on('change', function (event, type, value, urg) { - console.log(event); - console.log("ct change",type,value, urg); - }).typedInput({ + $("#node-input-contentType").typedInput({ default: getDefaultContentType(this.contentType), types: contentTypeOpts })