removed some style

This commit is contained in:
Mamalizz
2025-03-13 01:34:51 +03:30
parent 94907718ac
commit 26c17ab849
+5 -7
View File
@@ -29,20 +29,20 @@ const inputRef = ref<HTMLInputElement | null>(null);
const value = computed({
get: () => modelValue.value ?? "",
set: (value) => emit("update:modelValue", value)
set: (value) => emit("update:modelValue", value),
});
const classes = computed(() => {
return [
"flex items-center text-black justify-between cursor-text transition-all border-[1.5px] gap-3 typo-label-md px-4 py-3.5 selection:bg-slate-100 rounded-100",
"flex items-center text-black justify-between cursor-text transition-all border-[1.5px] gap-3 typo-label-md px-4 py-2.5 lg:py-3.5 selection:bg-slate-100 rounded-100",
{
"input-solid": variant.value === "solid",
"input-outlined": variant.value === "outlined",
"input-effects": !error.value,
[variant.value === "solid"
? "input-solid-error"
: "input-outlined-error"]: error.value
}
: "input-outlined-error"]: error.value,
},
];
});
</script>
@@ -54,12 +54,10 @@ const classes = computed(() => {
<input
v-model="value"
ref="inputRef"
class="outline-none flex-1 text-sm placeholder-slate-400"
class="outline-none flex-1 text-xs lg:text-sm placeholder-slate-400"
:placeholder="placeholder"
/>
<slot name="endItem" />
</div>
<!-- <Tooltip :title="message" class="w-full">
</Tooltip> -->
</template>