Skip to content

Commit 1bb116b

Browse files
committed
Add additional padding around node title for symmetry
1 parent 2e1a0ab commit 1bb116b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/less/react-checkbox-tree.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@
8383
color: @rct-icon-color;
8484
}
8585

86+
.rct-title {
87+
padding: 0 5px;
88+
}
89+
8690
.rct-icon-expand-close::before {
8791
content: "\f054";
8892
}

src/sass/react-checkbox-tree.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ $rct-label-hover: rgba($rct-icon-color, .1) !default;
8383
color: $rct-icon-color;
8484
}
8585

86+
.rct-title {
87+
padding: 0 5px;
88+
}
89+
8690
.rct-icon-expand-close::before {
8791
content: "\f054";
8892
}

0 commit comments

Comments
 (0)