Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

Tooltip break style of other element

Open Dielz98 opened this issue 10 years ago • 2 comments

Just hover over the button:

https://jsfiddle.net/6nvtL8jf/

And it seems tooltip doesn't support long text

Dielz98 avatar Jul 04 '16 17:07 Dielz98

I also noticed that you can't have tooltips on icons and it breaks ribbon labels : https://jsfiddle.net/vprpgc7s/2/

pjeannet avatar Jul 05 '16 14:07 pjeannet

Tooltips use :before and :after pseudo class to create the arrow and content box. Any elements that already use these pseudo classes will appear broken. Use a separate span or div for the tooltip to fix. This is a css limitation, as css only currently supports two pseudo elements.

See the warning note in popup docs

jlukic avatar Jul 05 '16 16:07 jlukic