diff --git a/theme.js b/theme.js index 07f090e..ea128eb 100644 --- a/theme.js +++ b/theme.js @@ -184,8 +184,8 @@ $('#link-buscar').click(function(e) { $('[data-toggle="tooltip"]').tooltip({ position: { - my: "top-82", - at: "center" + my: "center bottom-10", + at: "center top" }, tooltipClass: "ui-tooltip-top" }); @@ -196,8 +196,8 @@ $('#link-buscar').click(function(e) { $('[data-toggle="tooltip"]').tooltip({ position: { - my: "bottom+82", - at: "center" + my: "center top+10", + at: "center bottom" }, tooltipClass: "ui-tooltip-bottom" }); diff --git a/tooltip.css b/tooltip.css index 9f89e2e..c48a1e4 100644 --- a/tooltip.css +++ b/tooltip.css @@ -7,6 +7,10 @@ color: white; padding: 15px 10px 15px 20px; border: 0px !important; + width: -moz-fit-content; + width: -webkit-fit-content; + width: fit-content; + max-width:280px; } .ui-tooltip-bottom:after { @@ -34,4 +38,3 @@ border-width: 6px; margin-left: -6px; } - -- libgit2 0.21.2