Fixed: Tooltips in modals

pull/2/head
Mark McDowall 11 years ago
parent 0293a0c006
commit 903e804425

@ -87,3 +87,19 @@ h3 {
margin-left: 0px; margin-left: 0px;
} }
} }
// Tooltips
.help-inline-checkbox, .help-inline {
.tooltip-inner {
white-space : pre-wrap;
min-width : 200px;
}
.help-link ~ .tooltip {
.tooltip-inner {
white-space : normal;
min-width : 0px;
}
}
}

@ -9,17 +9,7 @@ define(
console.log('starting signalR'); console.log('starting signalR');
$('body').tooltip({ $('body').tooltip({
selector: '[title]', selector: '[title]'
container: 'body'
});
$(document).click(function(e) {
if ($(e.target).attr('title') !== undefined) {
return;
}
$('.tooltip').remove();
}); });
return this; return this;

Loading…
Cancel
Save