From c571a15d290b749d26feef6ea6a4594f70c2a4f9 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sat, 6 Jul 2019 17:33:31 +0200 Subject: [PATCH] Fix tool menu styles for workflow editor. --- client/galaxy/style/scss/base.scss | 6 ++++++ templates/webapps/galaxy/workflow/editor.mako | 16 +++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/client/galaxy/style/scss/base.scss b/client/galaxy/style/scss/base.scss index 1b438b84581..878ae5d796c 100644 --- a/client/galaxy/style/scss/base.scss +++ b/client/galaxy/style/scss/base.scss @@ -1528,6 +1528,12 @@ div.toolSectionTitle, div.toolTitle { background: darken($panel-bg-color, 5%); } } + + &.text-muted a { + &:hover { + background: inherit; + } + } } div.toolTitleNoSection { diff --git a/templates/webapps/galaxy/workflow/editor.mako b/templates/webapps/galaxy/workflow/editor.mako index 09f66de636d..ad361a31d93 100644 --- a/templates/webapps/galaxy/workflow/editor.mako +++ b/templates/webapps/galaxy/workflow/editor.mako @@ -91,13 +91,15 @@ %else:
%endif - %if "[[" in tool.description and "]]" in tool.description: - ${tool.description.replace( '[[', '' % tool.id ).replace( "]]", "" )} - %elif tool.name: - ${tool.name} ${tool.description} - %else: - ${tool.description} - %endif + + %if "[[" in tool.description and "]]" in tool.description: + ${tool.description.replace( '[[', '' % tool.id ).replace( "]]", "" )} + %elif tool.name: + ${tool.name} ${tool.description} + %else: + ${tool.description} + %endif +
%endif %endif