From 413faee304cf37e7fb3fb4414584289ceb06f2a1 Mon Sep 17 00:00:00 2001 From: Julian Querido Date: Wed, 22 Nov 2023 13:22:09 +0100 Subject: [PATCH] Fixed linting issues and tag indentation --- .../client/source/class/osparc/dashboard/GridButtonBase.js | 6 ++---- .../client/source/class/osparc/dashboard/GridButtonItem.js | 5 ++++- .../client/source/class/osparc/navigation/NavigationBar.js | 6 +++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/services/static-webserver/client/source/class/osparc/dashboard/GridButtonBase.js b/services/static-webserver/client/source/class/osparc/dashboard/GridButtonBase.js index e5927438bd3..55226ee11f6 100644 --- a/services/static-webserver/client/source/class/osparc/dashboard/GridButtonBase.js +++ b/services/static-webserver/client/source/class/osparc/dashboard/GridButtonBase.js @@ -129,13 +129,11 @@ qx.Class.define("osparc.dashboard.GridButtonBase", { }, TSR: { row: 2, - column: 0, - colSpan: 2 + column: 0 }, HITS: { row: 2, - column: 0, - colSpan: 2 + column: 2 }, UPDATES: { row: 0, diff --git a/services/static-webserver/client/source/class/osparc/dashboard/GridButtonItem.js b/services/static-webserver/client/source/class/osparc/dashboard/GridButtonItem.js index b91a8187d1e..6633e92ba2b 100644 --- a/services/static-webserver/client/source/class/osparc/dashboard/GridButtonItem.js +++ b/services/static-webserver/client/source/class/osparc/dashboard/GridButtonItem.js @@ -78,7 +78,10 @@ qx.Class.define("osparc.dashboard.GridButtonItem", { break; case "tags": control = new qx.ui.container.Composite(new qx.ui.layout.Flow(5, 3)).set({ - anonymous: true + anonymous: true, + paddingLeft: osparc.dashboard.GridButtonBase.PADDING, + paddingRight: osparc.dashboard.GridButtonBase.PADDING, + paddingBottom: osparc.dashboard.GridButtonBase.PADDING / 2 }); this._mainLayout.add(control, osparc.dashboard.GridButtonBase.POS.TAGS); break; diff --git a/services/static-webserver/client/source/class/osparc/navigation/NavigationBar.js b/services/static-webserver/client/source/class/osparc/navigation/NavigationBar.js index 2a9298dbf14..647ebedc543 100644 --- a/services/static-webserver/client/source/class/osparc/navigation/NavigationBar.js +++ b/services/static-webserver/client/source/class/osparc/navigation/NavigationBar.js @@ -49,7 +49,7 @@ qx.Class.define("osparc.navigation.NavigationBar", { this.set({ paddingLeft: 10, paddingRight: 10, - height: this.self().HEIGHT, + height: this.self().HEIGHT }); }, @@ -110,8 +110,8 @@ qx.Class.define("osparc.navigation.NavigationBar", { __buildLayout: function() { this.getContentElement().setStyles({ - background: "navigation_bar_background_color", - background: "linear-gradient(0deg, rgba(1, 18, 26, 0.1) 0%, rgba(229, 229, 229, 0.1) 5%)" + "background-color": "navigation_bar_background_color", + "background": "linear-gradient(0deg, rgba(1, 18, 26, 0.1) 0%, rgba(229, 229, 229, 0.1) 5%)" }); this.getChildControl("left-items"); this.getChildControl("center-items");