mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
list/item/button/card css overhaul
This commit is contained in:
@@ -26,7 +26,7 @@ $switch-ios-transition-duration: 300ms !default;
|
||||
|
||||
.item-media {
|
||||
margin: 0;
|
||||
padding: 6px $item-ios-padding-right 6px ($item-ios-padding-left + 20);
|
||||
padding: 6px ($item-ios-padding-right / 2) 6px ($item-ios-padding-left);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ $switch-md-transition-duration: 300ms !default;
|
||||
|
||||
.item-media {
|
||||
margin: 0;
|
||||
padding: 6px $item-md-padding-right 6px ($item-md-padding-left + 20);
|
||||
padding: 6px ($item-md-padding-right / 2) 6px $item-md-padding-left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ class MediaSwitch {
|
||||
'<ion-item-content id="{{labelId}}">' +
|
||||
'<ng-content></ng-content>' +
|
||||
'</ion-item-content>' +
|
||||
'<div class="item-media media-switch">' +
|
||||
'<div item-right class="item-media media-switch">' +
|
||||
'<div class="switch-icon"></div>' +
|
||||
'</div>',
|
||||
directives: [MediaSwitch]
|
||||
|
||||
Reference in New Issue
Block a user