Skip to content

Commit 69ecace

Browse files
committed
chore: test
1 parent 6992b92 commit 69ecace

File tree

10 files changed

+31
-1
lines changed

10 files changed

+31
-1
lines changed

packages/core/scss/components/action-sheet/_layout.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,11 @@
379379
height: 100%;
380380
}
381381
}
382+
383+
.k-icon-wrap::before,
384+
.k-checkbox-wrap::before {
385+
height: calc(var(--kendo-font-size-lg) * var(--kendo-line-height));
386+
}
382387
}
383388

384389

packages/core/scss/components/checkbox/_layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
&::before {
102102
content: "";
103103
width: 0px;
104+
height: calc(var(--kendo-font-size) * var(--kendo-line-height));
104105
overflow: hidden;
105106
flex: none;
106107
display: inline-block;

packages/core/scss/components/column-menu/_layout.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
font-size: $_font-size;
3636
line-height: $_line-height;
3737
}
38+
39+
.k-checkbox-wrap::before {
40+
height: calc($_font-size * $_line-height);
41+
}
3842
}
3943

4044
.k-group-menu-#{$size} {

packages/core/scss/components/dropdowntree/_layout.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
@use "sass:map";
12
@use "./variables.scss" as *;
3+
@use "../input/_variables.scss" as *;
24

35
@mixin kendo-dropdown-tree--layout-base() {
46

@@ -36,6 +38,17 @@
3638
}
3739
}
3840

41+
@each $size, $size-props in $kendo-input-sizes {
42+
$_font-size: map.get( $size-props, font-size );
43+
$_line-height: map.get( $size-props, line-height );
44+
45+
:where(.k-multiselecttree.k-input-#{$size}) {
46+
47+
.k-input-inner::before {
48+
height: calc( $_font-size * $_line-height );
49+
}
50+
}
51+
}
3952
}
4053

4154

packages/core/scss/components/icons/_layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
&::before {
2323
content: "";
2424
width: 0;
25+
height: calc(var(--kendo-font-size) * var(--kendo-line-height));
2526
overflow: hidden;
2627
flex: none;
2728
display: inline-block;

packages/core/scss/components/input/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $kendo-input-sm-calc-size: null !default;
3030
$kendo-input-md-calc-size: null !default;
3131
$kendo-input-lg-calc-size: null !default;
3232

33-
$kendo-input-sizes: null !default;
33+
$kendo-input-sizes: () !default;
3434

3535
$kendo-input-bg: null !default;
3636
$kendo-input-text: null !default;

packages/core/scss/components/radio/_layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
&::before {
9696
content: "";
9797
width: 0px;
98+
height: calc(var(--kendo-font-size) * var(--kendo-line-height));
9899
overflow: hidden;
99100
flex: none;
100101
display: inline-block;

packages/core/scss/components/skeleton/_layout.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
&:empty::before {
1515
content: "";
16+
display: inline-block;
1617
}
1718
}
1819

packages/core/scss/components/table/_layout.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
width: 0;
147147
display: block;
148148
overflow: hidden;
149+
box-sizing: border-box;
149150
}
150151

151152
.k-table-th {
@@ -249,6 +250,7 @@
249250
.k-table-#{$size} .k-table-list .k-table-group-row::before {
250251
padding-block: $_cell-padding-y;
251252
padding-inline: 0;
253+
height: calc( $_font-size * $_line-height + ( $_cell-padding-y * 2 ) );
252254
}
253255
}
254256

packages/core/scss/components/window/_layout.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777

7878
&:empty::before {
7979
content: "";
80+
display: block;
81+
height: calc($kendo-window-title-font-size * $kendo-window-title-line-height);
8082
}
8183
}
8284

0 commit comments

Comments
 (0)