Skip to content

Commit 7c1f191

Browse files
committed
paging & tree correct
1 parent ab94188 commit 7c1f191

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/themes/default/src/components/tree-item.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33

44
@layer kol-theme-component {
55
@include kol-icon-theme;
6+
67
.kol-tree-item {
78
$root: &;
8-
--tree-item-indentation: #{to-rem(20)};
9+
--indentation: #{to-rem(16)};
910

1011
&__link {
1112
display: block;
@@ -14,6 +15,8 @@
1415
.kol-link {
1516
color: var(--color-text);
1617
text-align: left;
18+
padding-right: to-rem(8);
19+
padding-left: max(calc(var(--indentation) * var(--level)));
1720
}
1821

1922
&:hover,

packages/themes/default/src/mixins/pagination-mixin.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
gap: to-rem(16);
1919

2020
&__navigation-list {
21-
gap: to-rem(16);
21+
gap: to-rem(8);
2222
}
2323

2424
.kol-button {

0 commit comments

Comments
 (0)