Skip to content
Snippets Groups Projects
Commit 039d1b19 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

use grid width for tooltips, disabled remaining code in bootstrap/tooltip.js

parent 93bcc22f
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
var timeout = null;
STUDIP.Tooltip.threshold = 6;
/*
$(document).on('mouseenter mouseleave focusin focusout', '[data-tooltip],.tooltip:has(.tooltip-content)', function(event) {
let data = $(this).data();
const visible = event.type === 'mouseenter' || event.type === 'focusin';
......@@ -32,3 +32,4 @@ $(document).on('mouseenter mouseleave focusin focusout', '[data-tooltip],.toolti
}).on('mouseleave focusout', '.studip-tooltip', function() {
$(this).hide();
});
*/
......@@ -42,7 +42,7 @@
bottom: 100%;
display: inline-block;
left: 50%;
margin-left: -129px;
width: 230px;
margin-left: -($grid-element-width) / 2 - 10px;
width: $grid-element-width;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment