diff --git a/packages/core/content-type-builder/admin/src/components/AttributeIcon/index.js b/packages/core/content-type-builder/admin/src/components/AttributeIcon/index.js
index c0c37e443a..33b137ea28 100644
--- a/packages/core/content-type-builder/admin/src/components/AttributeIcon/index.js
+++ b/packages/core/content-type-builder/admin/src/components/AttributeIcon/index.js
@@ -53,10 +53,7 @@ const iconByTypes = {
};
const IconBox = styled(Box)`
- width: ${pxToRem(32)};
- height: ${pxToRem(24)};
box-sizing: content-box;
- flex-shrink: 0;
`;
const AttributeIcon = ({ type, customField, ...rest }) => {
@@ -76,7 +73,9 @@ const AttributeIcon = ({ type, customField, ...rest }) => {
return null;
}
- return
|
Text
@@ -2410,19 +2416,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
popo
@@ -2539,7 +2545,7 @@ exports[` |
Text
@@ -2552,19 +2558,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
poq
@@ -2681,7 +2687,7 @@ exports[` |
Text
@@ -2694,19 +2700,19 @@ exports[` |
|
Text
@@ -3020,19 +3026,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
dada
@@ -3149,7 +3155,7 @@ exports[` |
Text
@@ -3162,19 +3168,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
papi
@@ -3291,7 +3297,7 @@ exports[` |
Text
@@ -3304,19 +3310,19 @@ exports[` |
| renders and matches the snapshot 1`] = ` class="c0 c25" > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Text
@@ -3843,19 +3849,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
mail
@@ -3972,7 +3978,7 @@ exports[` |
Email
@@ -3985,19 +3991,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
phone
@@ -4114,7 +4120,7 @@ exports[` |
Number
@@ -4127,19 +4133,19 @@ exports[` |
| renders and matches the snapshot 1`] = ` class="c0 c25" > | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Text
@@ -4333,19 +4339,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
description
@@ -4462,7 +4468,7 @@ exports[` |
Text
@@ -4475,19 +4481,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
price
@@ -4604,7 +4610,7 @@ exports[` |
Number
@@ -4617,19 +4623,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
picture
@@ -4748,7 +4754,7 @@ exports[` |
Media
@@ -4761,19 +4767,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
very_long_description
@@ -4892,7 +4898,7 @@ exports[` |
Rich text
@@ -4905,19 +4911,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
categories
@@ -5032,7 +5038,7 @@ exports[` |
Relation with
@@ -5051,19 +5057,19 @@ exports[` |
| renders and matches the snapshot 1`] = ` class="c0 c25" > | |||||||||||||||||||||||||||||||||||||||||||||||
|
Text
@@ -5257,19 +5263,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
time
@@ -5386,7 +5392,7 @@ exports[` |
Text
@@ -5399,19 +5405,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
dishrep
@@ -5534,7 +5540,7 @@ exports[` |
Component
@@ -5548,19 +5554,19 @@ exports[` |
|||||||||||||||
| renders and matches the snapshot 1`] = ` class="c0 c25" > | |||||||||||||||||
|
Text
@@ -5704,19 +5710,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
description
@@ -5833,7 +5839,7 @@ exports[` |
Text
@@ -5846,19 +5852,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
price
@@ -5975,7 +5981,7 @@ exports[` |
Number
@@ -5988,19 +5994,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
picture
@@ -6119,7 +6125,7 @@ exports[` |
Media
@@ -6132,19 +6138,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
very_long_description
@@ -6263,7 +6269,7 @@ exports[` |
Rich text
@@ -6276,19 +6282,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
categories
@@ -6403,7 +6409,7 @@ exports[` |
Relation with
@@ -6422,19 +6428,19 @@ exports[` |
| renders and matches the snapshot 1`] = ` class="c0 c25" > | ||||||||||||||
|
Text
@@ -6669,19 +6675,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
media
@@ -6800,7 +6806,7 @@ exports[` |
Media
@@ -6813,19 +6819,19 @@ exports[`
renders and matches the snapshot 1`] = `
>
is_available
@@ -6942,7 +6948,7 @@ exports[` |
Boolean
@@ -6955,19 +6961,19 @@ exports[` |