Improved placement of tooltips for part description.

This commit is contained in:
Jan Böhmer 2020-04-04 19:16:13 +02:00
parent 7d0776e598
commit f35a8611e3
3 changed files with 8 additions and 3 deletions

View file

@ -242,6 +242,11 @@ showing the sidebar (on devices with md or higher)
* Bootstrap extensions
*****************************************/
.w-fit {
width: -moz-fit-content;
width: fit-content;
}
.bg-primary-striped {
background: repeating-linear-gradient(
-45deg,

View file

@ -121,7 +121,7 @@ $(document).on("ajaxUI:reload ajaxUI:start", function () {
//Use bootstrap tooltips for the most tooltips
$(document).on("ajaxUI:start ajaxUI:reload ajaxUI:dt_loaded", function () {
$(".tooltip").remove();
$('a[title], button[title], span[title], h6[title], i.fas[title]')
$('a[title], button[title], span[title], h6[title], h3[title], i.fas[title]')
//@ts-ignore
.tooltip("hide").tooltip({container: "body", placement: "auto", boundary: 'window'});
});