[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS box-sizing #16

Open
weierophinney opened this issue Dec 31, 2019 · 4 comments
Open

CSS box-sizing #16

weierophinney opened this issue Dec 31, 2019 · 4 comments

Comments

@weierophinney
Copy link
Member

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


Originally posted by @man4red at zendframework/zend-developer-tools#145

@weierophinney
Copy link
Member Author

@weierophinney
Copy link
Member Author

@mpalourdio , thx 👍


Originally posted by @man4red at zendframework/zend-developer-tools#145 (comment)

@weierophinney
Copy link
Member Author

@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


Originally posted by @man4red at zendframework/zend-developer-tools#145 (comment)

@weierophinney
Copy link
Member Author

I totally agree.


Originally posted by @mpalourdio at zendframework/zend-developer-tools#145 (comment)

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

No branches or pull requests

1 participant