From c9e49ee09420a5a8c1ed9cee7dacdac269e5a18a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Mon, 26 Feb 2024 21:00:33 +0100 Subject: [PATCH] fix(demo): adapt to view scrollbar --- demo/src/features/customView.views.ts | 1 + demo/src/features/customView.workbench.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/demo/src/features/customView.views.ts b/demo/src/features/customView.views.ts index c5c2f9ca..ee881402 100644 --- a/demo/src/features/customView.views.ts +++ b/demo/src/features/customView.views.ts @@ -11,6 +11,7 @@ registerCustomView({ container.style.display = 'flex' container.style.alignItems = 'center' container.style.justifyContent = 'center' + container.style.height = '100%' container.innerHTML = 'This is a custom view
You can render anything you want here' return { diff --git a/demo/src/features/customView.workbench.ts b/demo/src/features/customView.workbench.ts index b9f9fb7a..2b275ab8 100644 --- a/demo/src/features/customView.workbench.ts +++ b/demo/src/features/customView.workbench.ts @@ -11,6 +11,7 @@ registerCustomView({ container.style.display = 'flex' container.style.alignItems = 'center' container.style.justifyContent = 'center' + container.style.height = '100%' container.innerHTML = 'This is a custom view
You can render anything you want here' return {