From 0f7046b98efd82caf98d0d872bd6e68b076452a1 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 30 Dec 2020 19:44:55 -0500 Subject: [PATCH] fix: improves edit view layout constraints --- src/admin/components/views/Account/index.scss | 2 ++ src/admin/components/views/Global/index.scss | 2 ++ src/admin/components/views/collections/Edit/index.scss | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/admin/components/views/Account/index.scss b/src/admin/components/views/Account/index.scss index 60414b76f7f..6852408359b 100644 --- a/src/admin/components/views/Account/index.scss +++ b/src/admin/components/views/Account/index.scss @@ -11,6 +11,7 @@ &__main, &__sidebar { width: auto; + min-width: 0; } &__main { @@ -53,6 +54,7 @@ overflow: auto; height: 100vh; flex-grow: 0; + flex-shrink: 0; } &__collection-actions, diff --git a/src/admin/components/views/Global/index.scss b/src/admin/components/views/Global/index.scss index f533e1ab75e..e10af100fae 100644 --- a/src/admin/components/views/Global/index.scss +++ b/src/admin/components/views/Global/index.scss @@ -11,6 +11,7 @@ &__main, &__sidebar { width: auto; + min-width: 0; } &__main { @@ -48,6 +49,7 @@ &__sidebar { width: base(15); flex-grow: 0; + flex-shrink: 0; } &__sidebar-sticky { diff --git a/src/admin/components/views/collections/Edit/index.scss b/src/admin/components/views/collections/Edit/index.scss index d289d308bff..a03a71ff4d3 100644 --- a/src/admin/components/views/collections/Edit/index.scss +++ b/src/admin/components/views/collections/Edit/index.scss @@ -11,6 +11,7 @@ &__main, &__sidebar { width: auto; + min-width: 0; } &__main { @@ -49,6 +50,7 @@ &__sidebar { width: base(15); flex-grow: 0; + flex-shrink: 0; } &__sidebar-sticky {