diff --git a/app/components/malio/Input.test.ts b/app/components/malio/Input.test.ts
index c067744..ccb7ba1 100644
--- a/app/components/malio/Input.test.ts
+++ b/app/components/malio/Input.test.ts
@@ -305,9 +305,9 @@ describe('MalioInput', () => {
it('passes icon size prop to icon component', () => {
const wrapper = mount(InputForTest, {
- props: {iconName: 'mdi:key-outline', iconSize: 'text-2xl'},
+ props: {iconName: 'mdi:key-outline', iconSize: '24'},
})
- expect(wrapper.get('[data-test="icon"]').attributes('size')).toBe('text-2xl')
+ expect(wrapper.get('[data-test="icon"]').attributes('height')).toBe('24')
})
it('applies icon color class', () => {
diff --git a/app/components/malio/InputText.vue b/app/components/malio/InputText.vue
index cb9374e..c6e4da2 100644
--- a/app/components/malio/InputText.vue
+++ b/app/components/malio/InputText.vue
@@ -8,17 +8,16 @@
v-maska="mask"
:name="name"
:autocomplete="autocomplete"
- class="floating-input grow-height peer min-h-[40px] w-full border bg-white pl-3 pr-3 py-1 outline-none border-m-muted focus:border-2"
+ class="floating-input grow-height peer min-h-[40px] w-full border bg-white pl-3 pr-3 py-1 outline-none focus:border-2"
:class="[
disabled ? 'cursor-not-allowed text-black/60 [&:not(:placeholder-shown)]:border-m-muted border-m-muted' : 'cursor-text',
hasError
? 'border-m-error focus:border-m-error focus:pl-[11px] [&:not(:placeholder-shown)]:border-m-error'
: hasSuccess
? 'border-m-success focus:border-m-success focus:pl-[11px] [&:not(:placeholder-shown)]:border-m-success'
- : 'border-m-border focus:border-m-primary focus:pl-[11px]',
+ : 'border-m-muted focus:border-m-primary focus:pl-[11px]',
textInput,
iconInputPaddingClass,
- inputClass,
rounded,
]"
:required="required"
@@ -50,22 +49,20 @@
textLabel,
]"
>
- {{ label }}
+ {{ label }}
-