more styling

This commit is contained in:
Thomas Ruoff
2021-02-28 23:28:05 +01:00
parent fcb453b243
commit 0aaccf6966
7 changed files with 53 additions and 34 deletions

View File

@@ -17,7 +17,7 @@ export default function TextAreaInput({
}) {
return (
<>
<label htmlFor={name} className="block text-sm font-medium text-gray-700">
<label htmlFor={name} className="pb-label">
{text}
</label>
<div className="mt-1">
@@ -25,7 +25,7 @@ export default function TextAreaInput({
id="about"
name="about"
rows={10}
className={`shadow-sm focus:ring-indigo-500 focus:border-indigo-500 mt-1 block w-full sm:text-sm border-gray-300 rounded-md ${styles}`}
className={`pb-textarea ${styles}`}
placeholder={placeholder}
onChange={onchange.bind(null, name)}
value={value}