Skip to content

Commit

Permalink
fix(treeview): checkboxes need margin on both horizontal sides
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Jan 13, 2022
1 parent dd5c257 commit 396d720
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions packages/default/scss/treeview/_layout.scss
Expand Up @@ -89,11 +89,6 @@
.k-treeview .k-i-collapse {
margin-left: -$treeview-indent;
cursor: pointer;

+ .k-checkbox-wrap,
+ .k-checkbox-wrapper {
margin-left: $icon-spacing;
}
}


Expand All @@ -106,6 +101,7 @@
// Checkbox
.k-treeview .k-checkbox-wrap,
.k-treeview .k-checkbox-wrapper {
margin-left: $icon-spacing;
margin-right: $icon-spacing;
align-self: center;
}
Expand Down Expand Up @@ -169,11 +165,6 @@
.k-treeview-toggle {
margin-left: 0;
margin-right: -$treeview-indent;

+ .k-checkbox-wrap,
+ .k-checkbox-wrapper {
margin-right: $icon-spacing;
}
}

// Loading
Expand All @@ -182,13 +173,6 @@
margin-left: $icon-spacing;
}

// Checkbox
.k-checkbox-wrap,
.k-checkbox-wrapper {
margin-right: 0;
margin-left: $icon-spacing;
}

// Treeview leaf
.k-treeview-leaf,
.k-in {
Expand Down

0 comments on commit 396d720

Please sign in to comment.