Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(tooltip): add display block to style
Browse files Browse the repository at this point in the history
- Adds style override to fix `display: none` being set by Bootstrap's
  CSS

Closes #4363
Closes #4379
  • Loading branch information
RobJacobs authored and wesleycho committed Sep 8, 2015
1 parent 9d80066 commit b413a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position'])
'animation="animation" '+
'is-open="isOpen"'+
'origin-scope="origScope" '+
'style="visibility: hidden"'+
'style="visibility: hidden; display: block;"'+
'>'+
'</div>';

Expand Down Expand Up @@ -148,7 +148,7 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position'])

ttCss.width = ttBox.width + 'px';
ttCss.height = ttBox.height + 'px';

ttCss.visibility = 'visible';

// Now set the calculated positioning and size.
Expand Down

0 comments on commit b413a22

Please sign in to comment.