zend-developer-tools icon indicating copy to clipboard operation
zend-developer-tools copied to clipboard

CSS box-sizing

Open man4red opened this issue 11 years ago • 5 comments

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

man4red avatar Mar 29 '14 09:03 man4red

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

mpalourdio avatar Mar 29 '14 09:03 mpalourdio

@mpalourdio , thx :+1:

man4red avatar Mar 29 '14 09:03 man4red

@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

man4red avatar Mar 29 '14 10:03 man4red

I totally agree.

mpalourdio avatar Mar 29 '14 11:03 mpalourdio

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.

weierophinney avatar Dec 31 '19 22:12 weierophinney