Skip to content

Commit

Permalink
Bad sizing with Bootstrap 3 (second attempt)
Browse files Browse the repository at this point in the history
Bootstrap 3 resets the box-sizing CSS property so the Intro.js layout is broken.
  • Loading branch information
Guillaume AMAT committed Aug 15, 2014
1 parent d111639 commit 54dfb5a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions introjs.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ tr.introjs-showElement > th {
transition: all 0.3s ease-out;
}

.introjs-helperLayer *,
.introjs-helperLayer *:before,
.introjs-helperLayer *:after {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
-ms-box-sizing: content-box;
-o-box-sizing: content-box;
box-sizing: content-box;
}

.introjs-helperNumberLayer {
position: absolute;
top: -16px;
Expand Down

0 comments on commit 54dfb5a

Please sign in to comment.