Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

CSS box-sizing #145

Open
man4red opened this issue Mar 29, 2014 · 5 comments
Open

CSS box-sizing #145

man4red opened this issue Mar 29, 2014 · 5 comments

Comments

@man4red
Copy link

man4red commented Mar 29, 2014

I know, that this is not an error at all, but:

If I use bootstratp CSS, for example - there present this style definition:

/* bootstrap.css #259 */
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

So with this borders I've got some irritating behavior when mouseover on some ZendTools button and popup content showed over button and I'm trying move my mouse to this content - it disappears!

Because of borders adds some extra space and mouseover event brokes.
Works if I move mouse over green arrow :)

I know, that this is behavior of bootstrap.css, but if u will add this:

#zend-developer-toolbar {
...
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
...
}

then problem will be fixed on all possible CSS frameworks, I think.

Sorry for my english.
Thx

@mpalourdio
Copy link

please see : #124

@man4red
Copy link
Author

man4red commented Mar 29, 2014

@mpalourdio , thx 👍

@man4red
Copy link
Author

man4red commented Mar 29, 2014

@mpalourdio, I think, that:

#zend-developer-toolbar {
...
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
...
}

would be preferable because of cross browser compatibility

@mpalourdio
Copy link

I totally agree.

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-developer-tools; a new issue has been opened at laminas/laminas-developer-tools#16.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants