bug: variable --border-width not work in ion-toolbar
See original GitHub issueBug Report
Ionic version:
[x] 4.x
Current behavior: in ios mode the css variable border-width in the elemet ion-toolbar is not work
Expected behavior: this works when I set the variable --border-width: 0px;
Steps to reproduce: customise ion-toolbar element and see in ios mode
Related code:
ion-toolbar{
--border-width: 0px;
}
Other information: this it work
ion-toolbar{
--border-width: 0px !important;
}
Ionic info:
Ionic:
Ionic CLI : 5.0.1 (/Users/rodrigoklayton/.npm-global/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.2.3
Capacitor:
Capacitor CLI : not installed
@capacitor/core : not installed
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 5 other plugins)
Utility:
cordova-res : 0.3.0
native-run : not installed
System:
ios-sim : 8.0.1
NodeJS : v12.4.0 (/usr/local/Cellar/node/12.4.0/bin/node)
npm : 6.9.0
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
bug: variable --border-width not work in ion-toolbar ... - GitHub
Bug Report. Ionic version: [x] 4.x. Current behavior: in ios mode the css variable border-width in the elemet ion-toolbar is not work.
Read more >Ion-toolbar border color not working-How do I use custom ...
I am trying to use custom CSS properties , but it does not seem to work! Login.html <ion-content> <ion-header [translucent]="true"> <ion-toolbar ...
Read more >Update modal body using variables - Ionic Forum
to update the text inside the modal, but it seems that the 4 IDs inside the p tags doesn't exist until I open...
Read more >CSS Variables | Amplify UI for Angular
These variables are used in Amplify UI. You can override these values to update the look and feel. Amplify CSS Variable, Default Value....
Read more >5 Examples of the new Ionic 6 Bottom Sheet Modal
<ion-header> <ion-toolbar> <ion-title>Modal Content</ion-title> ... Because the bottom sheet usually doesn't cover your whole screen, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi there,
Thanks for the issue! I was able to reproduce this. Looks like the issue is here: https://github.com/ionic-team/ionic/blob/master/core/src/components/header/header.ios.scss#L8
We will look into a fix for this. Thanks!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.