mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
fixed styling of tooltips, specifically websocket tooltip
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
<button
|
<button
|
||||||
aw-tool-tip="{{socketTip}}"
|
aw-tool-tip="{{socketTip}}"
|
||||||
tip-watch="socketTip"
|
tip-watch="socketTip"
|
||||||
data-popover-title="Live Events"
|
|
||||||
data-placement="bottom"
|
data-placement="bottom"
|
||||||
data-trigger="hover"
|
data-trigger="hover"
|
||||||
data-container="body"
|
data-container="body"
|
||||||
|
|||||||
@@ -485,7 +485,8 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job
|
|||||||
html: true,
|
html: true,
|
||||||
title: attrs.awToolTip,
|
title: attrs.awToolTip,
|
||||||
container: 'body',
|
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) {
|
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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user