octicon-rss(16/)
You've already forked ionic-framework
mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 22:44:13 +08:00
checkbox active state fix
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
octicon-diff(16/tw-mr-1) 3 changed files with 26 additions and 19 deletions
@@ -64,17 +64,22 @@
|
||||
}
|
||||
|
||||
/* make sure item content have enough padding on left to fit the checkbox */
|
||||
.item-checkbox .item-content {
|
||||
.item-checkbox {
|
||||
padding-left: ($item-padding * 2) + $checkbox-width;
|
||||
|
||||
&.active,
|
||||
&:active {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* position the checkbox to the left within an item */
|
||||
.item-checkbox .checkbox {
|
||||
@include display-flex();
|
||||
@include align-items(center);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: $item-padding / 2;
|
||||
z-index: 3;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user