1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

fixed styling of tooltips, specifically websocket tooltip

This commit is contained in:
John Mitchell 2015-06-10 15:20:36 -04:00
parent c28eab6206
commit b3e12305cc
3 changed files with 9 additions and 2 deletions

View File

@ -1,7 +1,6 @@
<button
aw-tool-tip="{{socketTip}}"
tip-watch="socketTip"
data-popover-title="Live Events"
data-placement="bottom"
data-trigger="hover"
data-container="body"

View File

@ -485,7 +485,8 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job
html: true,
title: attrs.awToolTip,
container: 'body',
trigger: 'hover focus'
trigger: 'hover focus',
template: '<div class="Tooltip tooltip" role="tooltip"><div class="Tooltip-arrow tooltip-arrow"></div><div class="Tooltip-inner tooltip-inner"></div></div>'
});
if (attrs.tipWatch) {

View File

@ -0,0 +1,7 @@
/** @define Tooltip */
@import "shared/branding/colors.less";
.Tooltip-inner {
white-space: pre-wrap;
word-break: break-word;
}