Skip to content

Commit a0e2542

Browse files
committed
fix: remove zwsp unicode usage across themes
1 parent f49a31b commit a0e2542

File tree

12 files changed

+38
-33
lines changed

12 files changed

+38
-33
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,9 @@
356356
display: block;
357357
position: absolute;
358358
inset-block-end: 0;
359-
content: "\200b";
359+
content: "";
360360
height: 0;
361-
line-height: 0;
361+
line-height: 1lh;
362362
z-index: k-z-index("base", 1);
363363
width: 150%;
364364
inset-inline-start: -25%;
@@ -395,7 +395,7 @@
395395
&::after {
396396
display: block;
397397
position: absolute;
398-
content: "\200b";
398+
content: "";
399399
height: 0;
400400
line-height: 0;
401401
z-index: k-z-index("base", 1);

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@
125125
position: relative;
126126

127127
&::before {
128-
content: "\200b";
129-
width: 0px;
128+
content: "";
129+
width: 0;
130+
height: 1lh;
130131
overflow: hidden;
131132
flex: none;
132133
display: inline-block;

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
}
2828

2929
.k-input-inner::before {
30-
content: "\200b";
31-
width: 0px;
30+
content: "";
31+
width: 0;
32+
height: 1lh;
3233
overflow: hidden;
3334
flex: none;
3435
display: inline-block;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
position: relative;
417417
vertical-align: middle;
418418
}
419-
td::after { content: "\200b"; }
419+
td::after { content: ""; }
420420
}
421421

422422
.k-task-wrap {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
position: relative;
2222

2323
&::before {
24-
content: "\200b";
24+
content: "";
2525
width: 0;
26+
height: 1lh;
2627
overflow: hidden;
2728
flex: none;
2829
display: inline-block;

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

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -288,24 +288,22 @@
288288

289289

290290
// Input value
291-
.k-input-value-icon {
292-
flex: none;
293-
}
291+
// Input value
294292
.k-input-value-text {
295293
flex: 1;
296294
overflow: hidden;
297295
text-overflow: ellipsis;
298-
}
299-
.k-input-value-text::before {
300-
content: "\200b";
301-
width: 0px;
302-
overflow: hidden;
303-
flex: none;
304-
display: inline-block;
305-
vertical-align: top;
306-
}
307-
308296

297+
&::before {
298+
content: "";
299+
width: 0;
300+
height: 1lh;
301+
overflow: hidden;
302+
flex: none;
303+
display: inline-block;
304+
vertical-align: top;
305+
}
306+
}
309307
// Input multiple values
310308
.k-input-values {
311309
min-width: 0px;

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,9 @@
217217
.k-list-header-text,
218218
.k-list-optionlabel {
219219
&::before {
220-
content: "\200b";
221-
width: 0px;
220+
content: "";
221+
width: 0;
222+
height: 1lh;
222223
overflow: hidden;
223224
}
224225
}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@
113113
position: relative;
114114

115115
&::before {
116-
content: "\200b";
117-
width: 0px;
116+
content: "";
117+
width: 0;
118+
height: 1lh;
118119
overflow: hidden;
119120
flex: none;
120121
display: inline-block;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
transform: $kendo-skeleton-text-transform;
1313

1414
&:empty::before {
15-
content: "\200b";
15+
content: "";
16+
display: inline-block;
1617
}
1718
}
1819

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@
141141
position: sticky;
142142

143143
&::before {
144-
content: "\200b";
145-
padding-block: $kendo-table-md-cell-padding-y;
146-
padding-inline: 0;
144+
content: "";
145+
height: 1lh;
147146
width: 0;
148147
display: block;
149148
overflow: hidden;
149+
box-sizing: content-box;
150150
}
151151

152152
.k-table-th {

0 commit comments

Comments
 (0)