From e5370e91ccf9178d866aaf0c3d6256b0ccdb4d1b Mon Sep 17 00:00:00 2001 From: cha0s Date: Mon, 25 Jan 2021 09:48:50 -0600 Subject: [PATCH] fix: nesting entity renderers --- packages/entity/src/entity-renderer/index.scss | 3 +-- packages/entity/src/entity-renderer/traits/index.scss | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/entity/src/entity-renderer/index.scss b/packages/entity/src/entity-renderer/index.scss index c7fbc4a..7ed6c74 100644 --- a/packages/entity/src/entity-renderer/index.scss +++ b/packages/entity/src/entity-renderer/index.scss @@ -9,7 +9,7 @@ .entity-renderer__workspacePanes { flex-grow: 1; - height: 100%; + min-height: 100%; overflow: hidden; > .react-tabs__tab-panel { height: 100%; @@ -19,7 +19,6 @@ .entity-renderer__workspaceTabs { background-color: rgba(255, 255, 255, 0.1); - height: 100%; text-orientation: mixed; writing-mode: vertical-rl; .react-tabs__tab { diff --git a/packages/entity/src/entity-renderer/traits/index.scss b/packages/entity/src/entity-renderer/traits/index.scss index 1f7c04b..1cc865f 100644 --- a/packages/entity/src/entity-renderer/traits/index.scss +++ b/packages/entity/src/entity-renderer/traits/index.scss @@ -5,7 +5,7 @@ height: 100%; overflow: hidden; padding: 1em; - .react-tabs { + > .react-tabs { display: flex; flex-direction: column; height: 100%; @@ -41,7 +41,7 @@ .traits__tab-panes { flex-shrink: 999; overflow: auto; - .react-tabs__tab-panel { + > .react-tabs__tab-panel { padding: 1em; } }