Skip to content

Commit cf8f6fd

Browse files
zhpenkovJuveniel
authored andcommitted
chore: refactor input separator styles
1 parent e7ded16 commit cf8f6fd

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

packages/default/scss/input/_layout.scss

+7-2
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,21 @@
213213
margin: 0;
214214
border-style: solid;
215215
border-color: inherit;
216-
height: auto;
217-
align-self: stretch;
216+
border-width: 0 0 0 1px;
217+
height: $kendo-icon-size;
218+
align-self: center;
218219

219220
&-horizontal {
221+
height: auto;
220222
margin-inline: $kendo-input-md-padding-y;
223+
align-self: stretch;
221224
border-width: 1px 0 0;
222225
}
223226

224227
&-vertical {
228+
height: auto;
225229
margin-block: $kendo-input-md-padding-y;
230+
align-self: stretch;
226231
border-width: 0 0 0 1px;
227232
}
228233
}

packages/fluent/scss/input/_layout.scss

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@use "sass:map";
22
@use "../core/" as *;
33
@use "./_variables.scss" as *;
4+
@use "../icon/_variables.scss" as *;
45

56
@mixin kendo-input--layout() {
67

@@ -237,16 +238,21 @@
237238
margin: 0;
238239
border-style: solid;
239240
border-color: inherit;
240-
height: auto;
241-
align-self: stretch;
241+
border-width: 0 0 0 1px;
242+
height: $kendo-icon-size;
243+
align-self: center;
242244

243245
&-horizontal {
246+
height: auto;
244247
margin-inline: $kendo-input-md-padding-y;
248+
align-self: stretch;
245249
border-width: 1px 0 0;
246250
}
247251

248252
&-vertical {
253+
height: auto;
249254
margin-block: $kendo-input-md-padding-y;
255+
align-self: stretch;
250256
border-width: 0 0 0 1px;
251257
}
252258
}

0 commit comments

Comments
 (0)