Commit d42fc53c0850752b23aec8959ab74eb602ab48f4
Exists in
master
and in
9 other branches
Merge branch 'master' of https://gitlab.com/softwarepublico/noosfero-spb-theme
Showing
2 changed files
with
8 additions
and
5 deletions
Show diff stats
theme.js
| @@ -190,8 +190,8 @@ $('#link-buscar').click(function(e) { | @@ -190,8 +190,8 @@ $('#link-buscar').click(function(e) { | ||
| 190 | 190 | ||
| 191 | $('[data-toggle="tooltip"]').tooltip({ | 191 | $('[data-toggle="tooltip"]').tooltip({ |
| 192 | position: { | 192 | position: { |
| 193 | - my: "top-82", | ||
| 194 | - at: "center" | 193 | + my: "center bottom-10", |
| 194 | + at: "center top" | ||
| 195 | }, | 195 | }, |
| 196 | tooltipClass: "ui-tooltip-top" | 196 | tooltipClass: "ui-tooltip-top" |
| 197 | }); | 197 | }); |
| @@ -202,8 +202,8 @@ $('#link-buscar').click(function(e) { | @@ -202,8 +202,8 @@ $('#link-buscar').click(function(e) { | ||
| 202 | 202 | ||
| 203 | $('[data-toggle="tooltip"]').tooltip({ | 203 | $('[data-toggle="tooltip"]').tooltip({ |
| 204 | position: { | 204 | position: { |
| 205 | - my: "bottom+82", | ||
| 206 | - at: "center" | 205 | + my: "center top+10", |
| 206 | + at: "center bottom" | ||
| 207 | }, | 207 | }, |
| 208 | tooltipClass: "ui-tooltip-bottom" | 208 | tooltipClass: "ui-tooltip-bottom" |
| 209 | }); | 209 | }); |
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 | - |