Skip to content

Commit

Permalink
🐛 - fix: fixed the overlapping of the icon inside stackctx
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaohs committed Oct 15, 2024
1 parent 4a93590 commit 495716d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/form/formcontrol/formcontrol.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
width: 100%;
}

.mykn-stackctx:has(.mykn-icon) .mykn-input,
.mykn-stackctx:has(.mykn-icon) .mykn-select {
padding-right: 30px;
}

&--direction-horizontal {
align-items: center;
flex-direction: row;
Expand Down
6 changes: 6 additions & 0 deletions src/components/stackctx/stackctx.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
.mykn-stackctx {
position: relative;
box-sizing: border-box;

&:has(.mykn-icon) .mykn-input,
&:has(.mykn-icon) .mykn-select {
padding-inline-end: 30px;
}
}

0 comments on commit 495716d

Please sign in to comment.