zendframework / zend-developer-tools

Module for developer and debug tools for working with the ZF2 MVC layer.
BSD 3-Clause "New" or "Revised" License
322 stars 130 forks source link

CSS box-sizing #145

Open man4red opened 10 years ago

man4red commented 10 years ago

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 commented 10 years ago

please see : https://github.com/zendframework/ZendDeveloperTools/pull/124

man4red commented 10 years ago

@mpalourdio , thx :+1:

man4red commented 10 years ago

@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 commented 10 years ago

I totally agree.

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-developer-tools; a new issue has been opened at https://github.com/laminas/laminas-developer-tools/issues/16.