some chenges: json texts, some styles issues and functionalities

This commit is contained in:
María
2025-10-31 11:17:48 +01:00
parent ba4e01e10c
commit b90516bfc5
18 changed files with 341 additions and 292 deletions

View File

@@ -1,13 +1,13 @@
<template>
<div class="space-y-2">
<label for="text" class="block text-sm">{{ label[langcode]}} <span>{{ required ? '*' : '' }}</span></label>
<label for="text" class="block text-sm">{{ label[langcode]}} </label>
<div class="h-10 flex items-center rounded-md bg-white pl-3 outline-1 -outline-offset-1 outline-gray-300 has-[input:focus-within]:outline-2 has-[input:focus-within]:-outline-offset-2 has-[input:focus-within]:outline-indigo-600">
<input
id="text"
type="text"
name="text"
:placeholder="placeholder[langcode]"
class="block min-w-0 grow py-1.5 pr-3 pl-1 text-base text-gray-900 placeholder:text-gray-400 focus:outline-none sm:text-sm/6 dark:bg-gray-800 dark:text-white dark:placeholder:text-gray-500"
class="block min-w-0 grow py-1.5 pr-3 pl-1 text-base text-gray-900 placeholder:text-gray-400 focus:outline-none sm:text-sm/6"
:required="required"
:value="modelValue"
@input="updateValue"