Skip to content

Commit ee5390a

Browse files
authored
fix: removes max-width from field-types class & correctly sets it on uploads (#4829)
1 parent a861311 commit ee5390a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/payload/src/admin/components/forms/RenderFields/index.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
& > .field-type {
1515
margin-bottom: var(--spacing-field);
16-
max-width: 100%;
1716

1817
&[type='hidden'] {
1918
margin-bottom: 0;

packages/payload/src/admin/components/forms/field-types/Upload/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.upload {
44
position: relative;
5+
max-width: 100%;
56

67
&__wrap {
78
background: var(--theme-elevation-50);

0 commit comments

Comments
 (0)