Commit 9c8b3e0352531bc55c2fd260d1396d0f01dba41b
1 parent
c8b0cab7
Exists in
master
and in
2 other branches
fixing tooltips position
Showing
2 changed files
with
8 additions
and
5 deletions
Show diff stats
theme.js
@@ -184,8 +184,8 @@ $('#link-buscar').click(function(e) { | @@ -184,8 +184,8 @@ $('#link-buscar').click(function(e) { | ||
184 | 184 | ||
185 | $('[data-toggle="tooltip"]').tooltip({ | 185 | $('[data-toggle="tooltip"]').tooltip({ |
186 | position: { | 186 | position: { |
187 | - my: "top-82", | ||
188 | - at: "center" | 187 | + my: "center bottom-10", |
188 | + at: "center top" | ||
189 | }, | 189 | }, |
190 | tooltipClass: "ui-tooltip-top" | 190 | tooltipClass: "ui-tooltip-top" |
191 | }); | 191 | }); |
@@ -196,8 +196,8 @@ $('#link-buscar').click(function(e) { | @@ -196,8 +196,8 @@ $('#link-buscar').click(function(e) { | ||
196 | 196 | ||
197 | $('[data-toggle="tooltip"]').tooltip({ | 197 | $('[data-toggle="tooltip"]').tooltip({ |
198 | position: { | 198 | position: { |
199 | - my: "bottom+82", | ||
200 | - at: "center" | 199 | + my: "center top+10", |
200 | + at: "center bottom" | ||
201 | }, | 201 | }, |
202 | tooltipClass: "ui-tooltip-bottom" | 202 | tooltipClass: "ui-tooltip-bottom" |
203 | }); | 203 | }); |
tooltip.css
@@ -7,6 +7,10 @@ | @@ -7,6 +7,10 @@ | ||
7 | color: white; | 7 | color: white; |
8 | padding: 15px 10px 15px 20px; | 8 | padding: 15px 10px 15px 20px; |
9 | border: 0px !important; | 9 | border: 0px !important; |
10 | + width: -moz-fit-content; | ||
11 | + width: -webkit-fit-content; | ||
12 | + width: fit-content; | ||
13 | + max-width:280px; | ||
10 | } | 14 | } |
11 | 15 | ||
12 | .ui-tooltip-bottom:after { | 16 | .ui-tooltip-bottom:after { |
@@ -34,4 +38,3 @@ | @@ -34,4 +38,3 @@ | ||
34 | border-width: 6px; | 38 | border-width: 6px; |
35 | margin-left: -6px; | 39 | margin-left: -6px; |
36 | } | 40 | } |
37 | - |