Skip to content

Commit

Permalink
fix(demo): adapt to view scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Feb 26, 2024
1 parent a3e8344 commit c9e49ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/src/features/customView.views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<br />You can render anything you want here'

return {
Expand Down
1 change: 1 addition & 0 deletions demo/src/features/customView.workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<br />You can render anything you want here'

return {
Expand Down

0 comments on commit c9e49ee

Please sign in to comment.