[
https://issues.apache.org/jira/browse/NIFI-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15743155#comment-15743155
]
ASF GitHub Bot commented on NIFI-3159:
--------------------------------------
Github user scottyaslan commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1310#discussion_r92041070
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js
---
@@ -759,18 +759,23 @@ nf.PolicyManagement = (function () {
});
// build the mark up
- return $('<span>Showing effective policy inherited from
Process Group </span>').append($('<span
class="link"></span>').text(processGroupName).on('click', function () {
- // close the shell
- $('#shell-close-button').click();
-
- // load the correct group and unselect everything if
necessary
- nf.CanvasUtils.enterGroup(processGroupId).done(function ()
{
- nf.CanvasUtils.getSelection().classed('selected',
false);
-
- // inform Angular app that values have changed
- nf.ng.Bridge.digest();
- });
- })).append('<span>.</span>');
+ return $('<span style="position: relative;top: -2px;">Showing
effective policy inherited from Process Group </span>').append(
+ $('<span class="link ellipsis" style="max-width: 200px;
position: relative; top: 3px;"></span>')
--- End diff --
Yea I see it....I was trying to get it to line up with the "Override this
policy" text and with the with this vertical-align it is off. What do you think
about keeping the vertical-align and adding
#override-policy-message {
float: left;
position: relative;
top: 1px;
}
> Long group name causes alignment issues in the access policy shell
> ------------------------------------------------------------------
>
> Key: NIFI-3159
> URL: https://issues.apache.org/jira/browse/NIFI-3159
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.1.0
> Reporter: Scott Aslan
> Assignee: Scott Aslan
> Priority: Minor
> Fix For: 1.2.0
>
> Attachments: Long group name in access policy shell.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)