Skip to content

Commit

Permalink
fix: improves edit view layout constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikrut committed Dec 31, 2020
1 parent f582a25 commit 0f7046b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/admin/components/views/Account/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
&__main,
&__sidebar {
width: auto;
min-width: 0;
}

&__main {
Expand Down Expand Up @@ -53,6 +54,7 @@
overflow: auto;
height: 100vh;
flex-grow: 0;
flex-shrink: 0;
}

&__collection-actions,
Expand Down
2 changes: 2 additions & 0 deletions src/admin/components/views/Global/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
&__main,
&__sidebar {
width: auto;
min-width: 0;
}

&__main {
Expand Down Expand Up @@ -48,6 +49,7 @@
&__sidebar {
width: base(15);
flex-grow: 0;
flex-shrink: 0;
}

&__sidebar-sticky {
Expand Down
2 changes: 2 additions & 0 deletions src/admin/components/views/collections/Edit/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
&__main,
&__sidebar {
width: auto;
min-width: 0;
}

&__main {
Expand Down Expand Up @@ -49,6 +50,7 @@
&__sidebar {
width: base(15);
flex-grow: 0;
flex-shrink: 0;
}

&__sidebar-sticky {
Expand Down

0 comments on commit 0f7046b

Please sign in to comment.