Line break on some Qtip hints

On this page: http://antidote.treethink.com/projects/ Some of the tooltips have line breaks (# 2, # 8, # 9, # 10) only in Firefox I would like to get rid of line breaks on them, but I can’t understand why they have this, and others (even longer ones).

This problem does not exist in Safari. I use Qtip (http://craigsworks.com/projects/qtip/) and the code that calls everything:

<script type="text/javascript">
$(document).ready(function()
{
   $('#post-11 a[title]').qtip({
      position: {
         corner: {
            target: 'topMiddle',
            tooltip: 'bottomMiddle'
         }
      },
      style: {
         name: 'dark',
         padding: '7px 13px',
         width: {
            max: 4000,
            min: 0
         },
         tip: true
      }
   });
});
</script>

Thanks Wade

+3
source share
1 answer

I tried this in Firefox, but none of them had faults. If you still have this problem, you can add css

#qtip-content{
    white-space:nowrap;
}
-1
source

Source: https://habr.com/ru/post/1781342/


All Articles