Skip to content

Commit f5f239d

Browse files
committed
chore: test
1 parent f8f966d commit f5f239d

File tree

12 files changed

+45
-30
lines changed

12 files changed

+45
-30
lines changed

packages/core/scss/components/calendar/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
display: block;
357357
position: absolute;
358358
inset-block-end: 0;
359-
content: " ";
359+
content: "";
360360
height: 0;
361361
line-height: 0;
362362
z-index: k-z-index("base", 1);

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use "../../mixins/index.import.scss" as *;
33
@use "../../spacing/index.import.scss" as *;
44
@use "../../z-index/index.import.scss" as *;
5+
@use "../../typography/index.import.scss" as *;
56
@use "../../_variables.scss" as *;
67
@use "./_variables.scss" as *;
78

@@ -99,8 +100,9 @@
99100
position: relative;
100101

101102
&::before {
102-
content: " ";
103-
width: 0px;
103+
content: "";
104+
width: 0;
105+
height: $kendo-line-height-em;
104106
overflow: hidden;
105107
flex: none;
106108
display: inline-block;

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use "./variables.scss" as *;
2+
@use "../../typography/index.import.scss" as *;
23

34
@mixin kendo-dropdown-tree--layout-base() {
45

@@ -27,8 +28,9 @@
2728
}
2829

2930
.k-input-inner::before {
30-
content: " ";
31-
width: 0px;
31+
content: "";
32+
width: 0;
33+
height: $kendo-line-height-em;
3234
overflow: hidden;
3335
flex: none;
3436
display: inline-block;

packages/core/scss/components/gantt/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
position: relative;
416416
vertical-align: middle;
417417
}
418-
td::after { content: " "; }
418+
td::after { content: ""; }
419419
}
420420

421421
.k-task-wrap {

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use "./_variables.scss" as *;
2+
@use "../../typography/index.import.scss" as *;
23

34
@use "@progress/kendo-svg-icons/scss/index.scss" as * with (
45
$ki-icon-size: $kendo-icon-size
@@ -20,8 +21,9 @@
2021
position: relative;
2122

2223
&::before {
23-
content: " ";
24+
content: "";
2425
width: 0;
26+
height: $kendo-line-height-em;
2527
overflow: hidden;
2628
flex: none;
2729
display: inline-block;

packages/core/scss/components/input/_layout.scss

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@use "sass:map";
22
@use "../../mixins/index.import.scss" as *;
33
@use "../../color-system/_constants.scss" as *;
4+
@use "../../typography/index.import.scss" as *;
45
@use "../../_variables.scss" as *;
56
@use "./_variables.scss" as *;
67
@use "../icons/_variables.scss" as *;
@@ -129,24 +130,22 @@
129130

130131

131132
// Input value
132-
.k-input-value-icon {
133-
flex: none;
134-
}
133+
// Input value
135134
.k-input-value-text {
136135
flex: 1;
137136
overflow: hidden;
138137
text-overflow: ellipsis;
139-
}
140-
.k-input-value-text::before {
141-
content: " ";
142-
width: 0px;
143-
overflow: hidden;
144-
flex: none;
145-
display: inline-block;
146-
vertical-align: top;
147-
}
148-
149138

139+
&::before {
140+
content: "";
141+
width: 0;
142+
height: $kendo-line-height-em;
143+
overflow: hidden;
144+
flex: none;
145+
display: inline-block;
146+
vertical-align: top;
147+
}
148+
}
150149
// Input multiple values
151150
.k-input-values {
152151
min-width: 0px;

packages/core/scss/components/list/_layout.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
@use "./_variables.scss" as *;
33
@use "../icons/_variables.scss" as *;
4+
@use "../../typography/index.import.scss" as *;
45
@use "sass:map";
56

67
@mixin kendo-list--layout-base() {
@@ -123,8 +124,9 @@
123124
.k-list-header-text,
124125
.k-list-optionlabel {
125126
&::before {
126-
content: " ";
127-
width: 0px;
127+
content: "";
128+
width: 0;
129+
height: $kendo-line-height-em;
128130
overflow: hidden;
129131
}
130132
}

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use "../../mixins/index.import.scss" as *;
33
@use "../../spacing/index.import.scss" as *;
44
@use "../../z-index/index.import.scss" as *;
5+
@use "../../typography/index.import.scss" as *;
56
@use "../../_variables.scss" as *;
67
@use "./variables.scss" as *;
78

@@ -93,8 +94,9 @@
9394
position: relative;
9495

9596
&::before {
96-
content: " ";
97-
width: 0px;
97+
content: "";
98+
width: 0;
99+
height: $kendo-line-height-em;
98100
overflow: hidden;
99101
flex: none;
100102
display: inline-block;

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
@use "./_variables.scss" as *;
3+
@use "../../typography/index.import.scss" as *;
34

45
@mixin kendo-skeleton--layout-base() {
56

@@ -12,7 +13,9 @@
1213
transform: $kendo-skeleton-text-transform;
1314

1415
&:empty::before {
15-
content: " ";
16+
content: "";
17+
display: inline-block;
18+
height: $kendo-line-height-em;
1619
}
1720
}
1821

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@
140140
position: sticky;
141141

142142
&::before {
143-
content: " ";
144-
padding-block: $kendo-table-md-cell-padding-y;
145-
padding-inline: 0;
143+
content: "";
144+
height: calc( #{$kendo-table-md-cell-padding-y} * 2 );
145+
min-height: 1em;
146146
width: 0;
147147
display: block;
148148
overflow: hidden;

0 commit comments

Comments
 (0)