ui: responsive proportions - implicit column overflow fixes, meta grid single-col on mobile, consistent page max-widths, admin rows wrap
This commit is contained in:
@@ -109,7 +109,7 @@ export function DynamicForm({ fields, value, onChange, taxonomies }: {
|
||||
return (
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-x-3 gap-y-3.5">
|
||||
{fields.map(f => (
|
||||
<div key={f.key} className={f.widget === 'textarea' ? 'col-span-2' : ''}>
|
||||
<div key={f.key} className={f.widget === 'textarea' ? 'sm:col-span-2' : ''}>
|
||||
{renderField(f)}
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user