mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
.bar.button-icon alignment updates
This commit is contained in:
4
dist/css/ionic.css
vendored
4
dist/css/ionic.css
vendored
@@ -2793,11 +2793,13 @@ a.subdued {
|
||||
height: 32px;
|
||||
font-size: 12px;
|
||||
line-height: 30px; }
|
||||
.bar .button .icon {
|
||||
.bar .button .icon, .bar .button.icon:before, .bar .button.icon-left:before, .bar .button.icon-right:before {
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
font-size: 24px;
|
||||
line-height: 30px; }
|
||||
.bar .button.button-icon .icon, .bar .button.button-icon.icon:before, .bar .button.button-icon.icon-left:before, .bar .button.button-icon.icon-right:before {
|
||||
line-height: 32px; }
|
||||
.bar .button-bar > .button, .bar .buttons > .button {
|
||||
min-height: 31px;
|
||||
height: 32px;
|
||||
|
||||
@@ -125,12 +125,24 @@
|
||||
font-size: $button-bar-button-font-size;
|
||||
line-height: $button-bar-button-height - $button-border-width - 1;
|
||||
|
||||
.icon {
|
||||
.icon,
|
||||
&.icon:before,
|
||||
&.icon-left:before,
|
||||
&.icon-right:before {
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
font-size: $button-bar-button-icon-size;
|
||||
line-height: $button-bar-button-height - $button-border-width - 1;
|
||||
}
|
||||
|
||||
&.button-icon {
|
||||
.icon,
|
||||
&.icon:before,
|
||||
&.icon-left:before,
|
||||
&.icon-right:before {
|
||||
line-height: $button-bar-button-height;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.button-bar > .button, .buttons > .button {
|
||||
|
||||
Reference in New Issue
Block a user