From 8bb6b27a558ace9ffeb90cf71d431a5eb53b62f7 Mon Sep 17 00:00:00 2001 From: Anthony Barone Date: Wed, 7 May 2025 16:06:25 -0400 Subject: [PATCH] fix: remove fixed height/width from treeview container These rules cause an issue where the user is unable to scroll an overflowed, fixed height wrapping container. --- .../ngx-json-treeview/src/lib/ngx-json-treeview.component.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/ngx-json-treeview/src/lib/ngx-json-treeview.component.scss b/projects/ngx-json-treeview/src/lib/ngx-json-treeview.component.scss index 43f892a..22f9962 100644 --- a/projects/ngx-json-treeview/src/lib/ngx-json-treeview.component.scss +++ b/projects/ngx-json-treeview/src/lib/ngx-json-treeview.component.scss @@ -13,10 +13,8 @@ $type-colors: ( .ngx-json-treeview { font-family: var(--ngx-json-font-family, monospace); font-size: var(--ngx-json-font-size, 1em); - height: 100%; overflow: hidden; position: relative; - width: 100%; .segment { margin: 1px 1px 1px 12px;