-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
ion-navbar take not into account with $navbar-ios-height #12811
Comments
Hello! Thank you for opening an issue with us! Looking at the code, we set /// @prop - Height of the navigation bar
$navbar-ios-height: $toolbar-ios-height !default; Similar for We will look into this. Thank you for using Ionic |
After internal discussions, we believe that We will look at refactoring this again in v4 to allow for better styling of the two components. Associated notes from @brandyscarney - there are some duplicated styles between this is something we’ll have to look over for v4 anyways since |
Do you have a solution for changing just the navbar height when you have a subheader? The solution you posted would adjust both the navbar and the subheader heights to the variable. Thank you, Christian |
Should have tried before posting (I have an aversion to changing css, so was hoping for a way to do this more cleanly). However, adding the following to the app scss seems to work fine, and if so, is clean enough for me:
I was worried that the content would not line up as expected when adjusting the css directly and not using a variable, but it seems to be working. |
This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there. If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know! Thank you for using Ionic! |
Issue moved to: ionic-team/ionic-v3#243 |
Resources:
Before submitting an issue, please consult our troubleshooting guide (http://ionicframework.com/docs/troubleshooting/) and developer resources (http://ionicframework.com/docs/developer-resources/)
Ionic version: (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Define scss variable $navbar-ios-height, but navbar only take into accout with $toolbar-ios-height.
Expected behavior:
ion-navbar should take into account $navbar-ios-height, instead of $toolbar-ios-height.
Steps to reproduce:
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: