Skip to content

Commit

Permalink
chore: refactor input separator styles
Browse files Browse the repository at this point in the history
  • Loading branch information
zhpenkov authored and Juveniel committed Jan 11, 2024
1 parent e7ded16 commit cf8f6fd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
9 changes: 7 additions & 2 deletions packages/default/scss/input/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,16 +213,21 @@
margin: 0;
border-style: solid;
border-color: inherit;
height: auto;
align-self: stretch;
border-width: 0 0 0 1px;
height: $kendo-icon-size;
align-self: center;

&-horizontal {
height: auto;
margin-inline: $kendo-input-md-padding-y;
align-self: stretch;
border-width: 1px 0 0;
}

&-vertical {
height: auto;
margin-block: $kendo-input-md-padding-y;
align-self: stretch;
border-width: 0 0 0 1px;
}
}
Expand Down
10 changes: 8 additions & 2 deletions packages/fluent/scss/input/_layout.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@use "sass:map";
@use "../core/" as *;
@use "./_variables.scss" as *;
@use "../icon/_variables.scss" as *;

@mixin kendo-input--layout() {

Expand Down Expand Up @@ -237,16 +238,21 @@
margin: 0;
border-style: solid;
border-color: inherit;
height: auto;
align-self: stretch;
border-width: 0 0 0 1px;
height: $kendo-icon-size;
align-self: center;

&-horizontal {
height: auto;
margin-inline: $kendo-input-md-padding-y;
align-self: stretch;
border-width: 1px 0 0;
}

&-vertical {
height: auto;
margin-block: $kendo-input-md-padding-y;
align-self: stretch;
border-width: 0 0 0 1px;
}
}
Expand Down

0 comments on commit cf8f6fd

Please sign in to comment.