#612 sespininput width class set changes

This commit is contained in:
agriyadev5
2021-08-19 12:29:03 +05:30
parent ab67fa2e03
commit 9d56df3c8c
2 changed files with 2 additions and 2 deletions

View File

@@ -88,9 +88,9 @@ export class SESpinInput extends HTMLElement {
case 'src':
this.$img.setAttribute('src', newValue);
this.$label.remove();
this.$div.classList.add('imginside');
break;
case 'width':
this.$div.classList.add('imginside');
this.$div.style.setProperty('--se-spin-input-width', newValue + 'px');
break;
case 'size':