Skip to content

The Open Standard for Generative UI

Minor fixes (#73)

subhamdd1598c17a40
diff --git a/js/packages/react-ui/src/components/Shell/shell.scss b/js/packages/react-ui/src/components/Shell/shell.scss
index f38656dee..78bce57f6 100644
--- a/js/packages/react-ui/src/components/Shell/shell.scss
+++ b/js/packages/react-ui/src/components/Shell/shell.scss
@@ -7,8 +7,8 @@
.crayon-shell-container {
display: flex;
position: relative;
- height: 100vh;
- width: 100vw;
+ height: 100dvh;
+ width: 100dvw;
padding: cssUtils.$spacing-m;
overflow: hidden;
diff --git a/js/packages/react-ui/src/components/Shell/sidebar.scss b/js/packages/react-ui/src/components/Shell/sidebar.scss
index eced8d448..6b171827a 100644
--- a/js/packages/react-ui/src/components/Shell/sidebar.scss
+++ b/js/packages/react-ui/src/components/Shell/sidebar.scss
@@ -31,6 +31,7 @@ $sidebar-mobile-padding: cssUtils.$spacing-l;
&--collapsed {
width: auto;
height: min-content;
+ position: absolute;
.crayon-shell-container--mobile & {
width: $sidebar-mobile-width;