-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[Bug Report] v-bottom-navigation's v-btn are't Vertical Centralization #8067
Comments
Finally, I find out how to fix this problem! I have try a lot of times,and I find out if I append in the App.vue,the style of v-bottom-navigation will be correct !!! I don't know why, but it work for me now. and I still hope vuetify can fix this style problem as soon as possiable |
If the buttons show differently in dev and production mode please provide similar information like in another bottom nav issue (screenshots of devtool in both modes etc), otherwise we will have to close the issue as not being able to reproduce (and therefor provide a fix) |
Also includes fix for incorrect v-btn size in v-bottom-navigation (see vuetifyjs/vuetify#8067)
|
This comment has been minimized.
This comment has been minimized.
This issue describes the reason for the problem and a workaround: vuetifyjs/vuetify#8067
This is hard to reproduce simply because we have no control over CSS ordering and it's random. With this being said, this will not be an issue for the framework in version 3. I'm going to close this as a duplicate of #5681 and #3583 as it pertains to them. If you have any additional questions, please reach out to us in our Discord community. |
FYI I can reproduce in Vuetify 2.3.9. The build config renders some button styling with explicit height above the regular height:inherit from .v-item-group.v-bottom-navigation button styling. Just apply height: inherit; to your respective buttons in your bottom navigation component. |
Adding on to this,
Here is my complete bug fix in the style section of my default layout: body{
overflow: hidden;
}
.v-item-group.v-bottom-navigation .v-btn.v-size--default {
height: inherit;
background: #2e2e2e;
padding: 0 1.3rem;
} |
We kindly ask users to not comment on closed/resolved issues. If you believe that this issue has not been correctly resolved, please create a new issue showing the regression. If you have any additional questions, please reach out to us in our Discord community. |
Environment
Vuetify Version: 2.0.1
Last working version: 1.5.16
Vue Version: 2.6.10
Browsers: Chrome 75.0.3770.142
OS: Mac OS 10.14.6
Steps to reproduce
use v-bottom-navigation follow the doc
Expected Behavior
the text and icon Vertical Centralization
Actual Behavior
the text and icon Centralized at the top
Reproduction Link
https://codepen.io/cheneyweb/pen/MNeEVe
The text was updated successfully, but these errors were encountered: