mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(item): fix button icon only with item left or right
references #689
This commit is contained in:
@@ -127,10 +127,10 @@ button[item-right],
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
[item-left].icon-only,
|
||||
[item-right].icon-only,
|
||||
[item-left].icon-only icon,
|
||||
[item-right].icon-only icon,
|
||||
[item-left].button-icon-only,
|
||||
[item-right].button-icon-only,
|
||||
[item-left].button-icon-only icon,
|
||||
[item-right].button-icon-only icon,
|
||||
[item-left][clear],
|
||||
[item-right][clear] {
|
||||
padding: 0 1px;
|
||||
|
||||
@@ -104,10 +104,10 @@ button[item-right],
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
[item-left].icon-only,
|
||||
[item-right].icon-only,
|
||||
[item-left].icon-only icon,
|
||||
[item-right].icon-only icon {
|
||||
[item-left].button-icon-only,
|
||||
[item-right].button-icon-only,
|
||||
[item-left].button-icon-only icon,
|
||||
[item-right].button-icon-only icon {
|
||||
padding: 0 1px;
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ button[item-right],
|
||||
}
|
||||
|
||||
icon[item-left] + .item-inner,
|
||||
icon[item-left] + [text-input] {
|
||||
icon[item-left] + .item-input {
|
||||
margin-left: $item-md-padding-left + ($item-md-padding-left / 2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user