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:
parent
c28eab6206
commit
b3e12305cc
@ -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"
|
||||
|
@ -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) {
|
||||
|
7
awx/ui/static/js/tooltip/tooltip.block.less
Normal file
7
awx/ui/static/js/tooltip/tooltip.block.less
Normal file
@ -0,0 +1,7 @@
|
||||
/** @define Tooltip */
|
||||
|
||||
@import "shared/branding/colors.less";
|
||||
.Tooltip-inner {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
Loading…
Reference in New Issue
Block a user