mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
switch padding fix
This commit is contained in:
@ -29,7 +29,7 @@ $switch-ios-transition-duration: 200ms !default;
|
|||||||
|
|
||||||
.item-media {
|
.item-media {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: $item-ios-padding-media-top $item-ios-padding-right $item-ios-padding-media-bottom ($item-ios-padding-left + 20);
|
padding: 6px $item-ios-padding-right 6px ($item-ios-padding-left + 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
.switch-icon {
|
.switch-icon {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
it('should check apple via checkbox element click', function() {
|
it('should check apple via switch element click', function() {
|
||||||
element(by.css('#e2eAppleCheckbox')).click();
|
element(by.css('#e2eAppleCheckbox')).click();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -8,10 +8,10 @@ exports.config = {
|
|||||||
domain: 'ionic-snapshot-go.appspot.com',
|
domain: 'ionic-snapshot-go.appspot.com',
|
||||||
//domain: 'localhost:8080',
|
//domain: 'localhost:8080',
|
||||||
|
|
||||||
//specs: 'dist/e2e/**/*e2e.js',
|
specs: 'dist/e2e/**/*e2e.js',
|
||||||
specs: 'dist/e2e/switch/basic/*e2e.js',
|
//specs: 'dist/e2e/switch/basic/*e2e.js',
|
||||||
|
|
||||||
sleepBetweenSpecs: 1200,
|
sleepBetweenSpecs: 1300,
|
||||||
|
|
||||||
platformDefauls: {
|
platformDefauls: {
|
||||||
browser: 'chrome',
|
browser: 'chrome',
|
||||||
|
Reference in New Issue
Block a user