Change class name "image-loader" to custom Tailwind and remove unused class name

fix-error-messages
danidfra 2024-11-05 19:16:39 -03:00
rodzic 348a4f4bbf
commit 5e857d824e
2 zmienionych plików z 9 dodań i 3 usunięć

Wyświetl plik

@ -24,7 +24,7 @@ export const InputContainer: React.FC<IInputContainer> = (props) => {
return (
<div className={containerClass}>
{props.children}
{props.hint && <span className='hint'>{props.hint}</span>}
{props.hint && <span>{props.hint}</span>}
</div>
);
};
@ -45,10 +45,10 @@ export const LabelInputContainer: React.FC<ILabelInputContainer> = ({ label, hin
return (
<div className='label_input'>
<label htmlFor={id}>{label}</label>
<div className='label_input__wrapper'>
<div>
{childrenWithProps}
</div>
{hint && <span className='hint'>{hint}</span>}
{hint && <span>{hint}</span>}
</div>
);
};

Wyświetl plik

@ -3,6 +3,12 @@
@tailwind utilities;
@layer utilities {
.input.with_label.toggle .label_input {
display: flex;
font-size: 14px;
align-items: center;
}
.divide-x-dot > *:not(:last-child)::after {
content: '·';
padding-right: 4px;