intro.js have something wrong working with bootstrap

Created on 22 Aug 2014  路  6Comments  路  Source: usablica/intro.js

When there is a bootstrap.css file working with intro.js and introjs.css , the width and height of introjs-helperNumberLayer will reduce which makes the style of introjs-helperNumberLayer very weird .
It seems like the border width and padding of introjs-helperNumberLayer will be counted in its height and width.

Most helpful comment

can fix with the following code:

span.introjs-helperNumberLayer {
    -webkit-box-sizing: initial !important;
    box-sizing: initial !important;
    -moz-box-sizing: initial !important;
}

All 6 comments

Same issue overhere..

Can you have any online demo? @zombiezlk @netcult

can fix with the following code:

span.introjs-helperNumberLayer {
    -webkit-box-sizing: initial !important;
    box-sizing: initial !important;
    -moz-box-sizing: initial !important;
}

I think this was the same issiue: https://github.com/usablica/intro.js/pull/313

Here's the demo on JSFiddle: http://jsfiddle.net/4evx1537/3/

Note that the number in the upper left corner is not centered.
screen shot 2015-11-02 at 1 08 30 am

@clarmso edit introjs.css _line-height: 20px;_ to 10px; in line 110

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  7Comments

jaesung2061 picture jaesung2061  路  9Comments

pranaysonisoft picture pranaysonisoft  路  9Comments

Themandunord picture Themandunord  路  3Comments

ethaniel picture ethaniel  路  6Comments