Skip to content

Commit

Permalink
[field, form-builder] fix overflow issues (#2079)
Browse files Browse the repository at this point in the history
* [field] fix fields in fieldsets overflowing container width

* [field] fix text in diff component overflowing its container

* [form-builder] fix long title in array item overflow from overflow: hidden to min-width
  • Loading branch information
vicmeow committed Oct 20, 2020
1 parent ae92193 commit d0b4db2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/@sanity/field/src/diff/components/DiffFromTo.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
flex: 1;
min-width: 0;
display: block;
white-space: break-spaces;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.inner {
overflow: hidden;
min-width: 0;
}

.list {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
display: block;
width: 100%;
box-sizing: border-box;
min-width: 0;
}

0 comments on commit d0b4db2

Please sign in to comment.