Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

A line is drawn accross the speech bubble arrow #405

Closed
bartmcleod opened this issue Sep 19, 2012 · 6 comments
Closed

A line is drawn accross the speech bubble arrow #405

bartmcleod opened this issue Sep 19, 2012 · 6 comments
Assignees
Labels
Milestone

Comments

@bartmcleod
Copy link

I have edited this issue, because it happens sometimes, but I do not know in which circumstances exactly.

The last time I saw this happen was when specifying a position.container = $('#myForm');

The tooltip had a title and a text on the content.

Expected: there is no line between the arrow and the content pane (the line of the content pane is interrupted by the arrow).
Actual: The border line of the content pane runs through the speech bubble arrow.

This dissapears when a custom class is added to styles.classes that has a border-width: 2px

I used firefox 15 when this appeared.

@Craga89
Copy link
Contributor

Craga89 commented Nov 15, 2012

Can you setup a reproducible test case please: http://jsfiddle.net/fdavn/

@bartmcleod
Copy link
Author

Thanks for looking into this issue.

It took me my last hour of spare time today, but here you go:
http://jsfiddle.net/fDavN/5152/

It turns out to be 1 line in my body {} style definition together with 1 line in jquery.qtip.min.css

These are commented in the fiddle, if you turn off either line in firebug, you will see the line dissapear.
Also changing the line-height just a little bit will remove the wrong line (at least in FF latest).

Note that this is specific to FireFox as far as I can see. I tested it in Safari and Chrome and both do well. Even in IE 9 there is no wrong line.

I did a little more than just add those styles, to reflect the situation where it occurs in our application. I do not know if those options are vital to the problem, but since they are in the fiddle, you can fiddle with those at will.

@Craga89
Copy link
Contributor

Craga89 commented Nov 15, 2012

Out of curiosity, does this fix the issue you're seeing? http://jsfiddle.net/fDavN/5155/

@bartmcleod
Copy link
Author

Yes it does. Any value except the 0.1 fixes the issue.

@Craga89
Copy link
Contributor

Craga89 commented Nov 16, 2012

Great. I'll look into changing this and commit it up in that case. Keep an eye on the repo today for the fixes

@bartmcleod
Copy link
Author

This should not be tagged IE

@ghost ghost assigned Craga89 Nov 27, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants