fix: full-width content area + auto-create MediaAssets on render complete

- Remove max-w-* constraints from all data/table pages so content fills available width after sidebar (Billing, MediaBrowser, OrderDetail, WorkerManagement, WorkerActivity, Materials, Tenants, AssetLibrary, NewProductOrder, ProductDetail)
- Narrow form/settings pages keep their max-width (NotificationSettings, Preferences, NewOrder, Notifications)
- render_order_line_task: create MediaAsset record on render success so results immediately appear in Media Browser without requiring the retroactive import button

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 00:17:17 +01:00
parent f5ca91ee02
commit 5029a94608
11 changed files with 36 additions and 10 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ export default function AssetLibraryPage() {
})
return (
<div className="p-8 max-w-5xl mx-auto">
<div className="p-8">
{/* Header */}
<div className="mb-6 flex items-center justify-between">
<div>