Use margin, not padding as that causes weird looking buttons if slotted.
This commit is contained in:
@@ -79,12 +79,12 @@ class TpInput extends BaseElement {
|
||||
}
|
||||
|
||||
.prefix ::slotted([slot="prefix"]) {
|
||||
padding-right: 5px;
|
||||
margin-right: 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.suffix ::slotted([slot="suffix"]) {
|
||||
padding-left: 5px;
|
||||
margin-left: 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user