diff --git a/src/features/forms/index.tsx b/src/features/forms/index.tsx index d7f3cff9c..faeabacdd 100644 --- a/src/features/forms/index.tsx +++ b/src/features/forms/index.tsx @@ -24,7 +24,7 @@ export const InputContainer: React.FC = (props) => { return (
{props.children} - {props.hint && {props.hint}} + {props.hint && {props.hint}}
); }; @@ -45,10 +45,10 @@ export const LabelInputContainer: React.FC = ({ label, hin return (
-
+
{childrenWithProps}
- {hint && {hint}} + {hint && {hint}}
); }; diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css index efc52c716..f030edc6a 100644 --- a/src/styles/tailwind.css +++ b/src/styles/tailwind.css @@ -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;