Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix form hover behavior by not writing the help-block if there's noth…
…ing to go in it
  • Loading branch information
gashcrumb committed Aug 27, 2013
1 parent bdd9137 commit 56dccf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hawtio-web/src/main/webapp/app/forms/js/helpers.ts
Expand Up @@ -164,9 +164,9 @@ module Forms {
}

export function getHelpSpan(config, arg, id) {
var rc = $('<span class="help-block"></span>');
var rc:any = '';
if (angular.isDefined(arg.type) && config.showtypes !== 'false') {
rc.append('Type: ' + arg.type);
$('<span class="help-block">Type: ' + arg.type + '</span>');
}
return rc;
}
Expand Down
4 changes: 4 additions & 0 deletions hawtio-web/src/main/webapp/css/site-branding.css
Expand Up @@ -522,3 +522,7 @@ li[ng-repeat='link in breadcrumbs'].active:after {
.tabbable li.active a {
border-bottom: 0 !important;
}

.no-bottom-margin .control-group {
margin-bottom: 10px;
}

0 comments on commit 56dccf4

Please sign in to comment.