Should be `.ace_tooltip.ace_doc-tooltip` As the tooltip has both classes, I accidentally added space between the 2 classes  in my comment.  Also when using only one class the css is less specif and gets overridden.  This doesnt solve the issue for very small screens but I think it's ok (<950px) 